ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Хихин Руслан" <hihin@yandex.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] XawTV4
Date: Tue, 25 Jul 2006 12:38:17 +0400
Message-ID: <200607251238.23391@ruslandh> (raw)
In-Reply-To: <200607251102.12274@ruslandh>


[-- Attachment #1.1: Type: text/plain, Size: 140 bytes --]

Здравствуйте All
  В сообщении от 25 июля 2006 11:02 Хихин Руслан написал(a):

Извините, не тот файл вложил.

-- 
С  уважением Хихин Руслан

[-- Attachment #1.2: xawtv4-20060615-libquictime-fix.patch --]
[-- Type: text/x-diff, Size: 2732 bytes --]

diff -uNr xawtv/libng/plugins/read-mpeg.c xawtv-new/libng/plugins/read-mpeg.c
--- xawtv/libng/plugins/read-mpeg.c	2005-10-08 18:13:11 +0400
+++ xawtv-new/libng/plugins/read-mpeg.c	2006-07-25 12:21:08 +0400
@@ -768,7 +768,7 @@
 	size = h->ts.size-off;
 	if (buf->size + size > TS_AUDIO_BUF) {
 	    fprintf(stderr,"ts: TS_AUDIO_BUF too small (%ld > %d)\n",
-		    buf->size + size, TS_AUDIO_BUF);
+		    (long int) buf->size + size, TS_AUDIO_BUF);
 	    exit(1);
 	}
 	memcpy(buf->data + buf->size, data, size);
diff -uNr xawtv/libng/plugins/read-qt.c xawtv-new/libng/plugins/read-qt.c
--- xawtv/libng/plugins/read-qt.c	2004-02-24 23:09:16 +0300
+++ xawtv-new/libng/plugins/read-qt.c	2006-07-25 12:03:19 +0400
@@ -4,9 +4,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <pthread.h>
-#include <quicktime/quicktime.h>
-#include <quicktime/colormodels.h>
-#include <quicktime/lqt.h>
+#include <lqt/quicktime.h>
+#include <lqt/colormodels.h>
+#include <lqt/lqt.h>
 
 #include "grab-ng.h"
 
diff -uNr xawtv/libng/plugins/write-qt.c xawtv-new/libng/plugins/write-qt.c
--- xawtv/libng/plugins/write-qt.c	2004-02-24 23:09:16 +0300
+++ xawtv-new/libng/plugins/write-qt.c	2006-07-25 12:30:43 +0400
@@ -4,9 +4,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <pthread.h>
-#include <quicktime/quicktime.h>
-#include <quicktime/colormodels.h>
-#include <quicktime/lqt.h>
+#include <lqt/quicktime.h>
+#include <lqt/colormodels.h>
+#include <lqt/lqt.h>
 
 #include "grab-ng.h"
 
@@ -336,6 +336,7 @@
     int i,j,k,skip,fmtid;
     unsigned int cmodel;
     struct qt_video_priv *vp;
+    int model=0;
 
     /* handle video encoders */
     video = malloc(sizeof(qt_vformats));
@@ -348,10 +349,12 @@
 		    info[i]->name,info[i]->long_name);
 	    for (j = 0; j < info[i]->num_fourccs; j++)
 		fprintf(stderr,"   fcc   : %s\n",info[i]->fourccs[j]);
-	    for (j = 0; j < info[i]->num_encoding_colormodels; j++)
-		fprintf(stderr,"   cmodel: %d [%s]\n",
-			info[i]->encoding_colormodels[j],
-			lqt_get_colormodel_string(info[i]->encoding_colormodels[j]));
+	    for (j = 0;  j < lqt_num_colormodels(); j++)
+	        {
+	        model=lqt_get_colormodel(j);    
+		fprintf(stderr,"   cmodel: %d [%s]\n", model, 
+		    lqt_get_colormodel_string(model) );
+		}
 	}
 
 	/* sanity checks */
@@ -378,8 +381,8 @@
 	/* pick colormodel */
 	fmtid  = VIDEO_NONE;
 	cmodel = 0;
-	for (j = 0; j < info[i]->num_encoding_colormodels; j++) {
-	    cmodel = info[i]->encoding_colormodels[j];
+	for (j = 0; j < lqt_num_colormodels(); j++) {
+	    cmodel = lqt_get_colormodel(j);
 	    if (cmodel>= sizeof(cmodels)/sizeof(int))
 		continue;
 	    if (!cmodels[cmodel])

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-07-25  8:38 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-19  0:02 [sisyphus] XdTV Хихин Руслан
2006-07-19  5:23 ` Damir Shayhutdinov
2006-07-19  6:18   ` Хихин Руслан
2006-07-19  6:19 ` Gleb Kulikov
2006-07-19  9:04 ` Igor Zubkov
2006-07-19 10:06 ` Michael Shigorin
2006-07-19 20:08   ` Хихин Руслан
2006-07-20  3:22     ` Slava Semushin
2006-07-20  5:27       ` Хихин Руслан
2006-07-20  9:14         ` Eugene Prokopiev
2006-07-20 19:48           ` Хихин Руслан
2006-07-23  4:42             ` Хихин Руслан
2006-07-23 17:38               ` [sisyphus] XawTV4 Хихин Руслан
2006-07-24  7:36                 ` Damir Shayhutdinov
2006-07-24  8:26                   ` Хихин Руслан
2006-07-25  7:02                     ` Хихин Руслан
2006-07-25  8:38                       ` Хихин Руслан [this message]
2006-07-26 20:35                         ` Хихин Руслан
2006-07-27 17:50                           ` Michael Shigorin
2006-07-27 22:01                             ` Хихин Руслан
2006-07-28  5:06                               ` Slava Semushin
2006-07-28  5:41                                 ` Damir Shayhutdinov
2006-07-28  5:54                                   ` Slava Semushin
2006-07-28  5:58                                     ` Damir Shayhutdinov
2006-08-01 16:51                                   ` Хихин Руслан
2006-08-01 17:46                                     ` Хихин Руслан
2006-07-28  5:48                                 ` Andrey Rahmatullin
2006-07-30 20:37                                   ` Michael Shigorin
2006-07-31  8:18                                     ` Хихин Руслан
2006-07-31 17:04                                 ` Хихин Руслан
2006-07-31 17:39                                   ` Sergey Vlasov
2006-07-31 18:21                                     ` Хихин Руслан
2006-08-01 19:26                                   ` Michael Shigorin
2006-08-02  3:15                                     ` Хихин Руслан
2006-08-02  8:54                                       ` Хихин Руслан
2006-08-02  9:05                                         ` Damir Shayhutdinov
2006-08-02  9:28                                           ` Хихин Руслан
2006-08-02  9:35                                             ` Damir Shayhutdinov
2006-08-02  9:39                                             ` Slava Semushin
2006-08-02 10:16                                               ` Хихин Руслан
2006-08-02  9:35                                           ` Хихин Руслан
2006-08-02 15:15                                         ` Michael Shigorin
2006-08-02 18:37                                           ` Хихин Руслан
2006-08-02 18:58                                             ` Andrey Rahmatullin
2006-08-02 15:14                                       ` Michael Shigorin
2006-08-02 16:50                                         ` Хихин Руслан
2006-08-03 12:56                                           ` Aleksey Avdeev
2006-08-02 18:47                                         ` Хихин Руслан
2006-08-02 18:59                                           ` Andrey Rahmatullin
2006-08-04 20:01                                               ` Michael Shigorin
2006-08-05 12:28                                               ` Хихин Руслан
2006-08-06 19:35                                                 ` Хихин Руслан
2006-08-07  7:29                                               ` Slava Semushin
2006-08-14  5:43                                                 ` Хихин Руслан
2006-07-19 10:36 ` [sisyphus] XdTV Epiphanov Sergei
2006-07-19 12:08   ` Epiphanov Sergei
2006-07-19 12:21     ` Led
2006-07-19 20:00     ` Хихин Руслан
2006-07-19 22:24       ` Хихин Руслан
2006-07-20  3:24         ` Slava Semushin
2006-07-20  4:06           ` Хихин Руслан
2006-07-20  9:47           ` Igor Zubkov
2006-07-20 10:04             ` Led
2006-07-20 22:49               ` Хихин Руслан
2006-07-21  8:24                 ` Igor Zubkov
2006-07-21 17:42                   ` Хихин Руслан
2006-07-22  8:35                   ` Хихин Руслан
2006-07-22  8:42                     ` Pavlov Konstantin
2006-07-22  9:10                       ` Хихин Руслан
2006-07-23  5:40                   ` Хихин Руслан
2006-07-20  6:29       ` Хихин Руслан

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200607251238.23391@ruslandh \
    --to=hihin@yandex.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git