diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-06-27 13:56:55 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-06-27 13:56:55 +0000 |
commit | 3a326908ee92ee5da7532be1f9dd69c716e2691f (patch) | |
tree | 1bb20c932399c08f4525ce7f17eb98ea9288b11a | |
parent | baa6f650e082bdc60778630ace9dded2fa05bc75 (diff) | |
download | xine-lib-3a326908ee92ee5da7532be1f9dd69c716e2691f.tar.gz xine-lib-3a326908ee92ee5da7532be1f9dd69c716e2691f.tar.bz2 |
apply patch from Bastien for ffmpeg silence
CVS patchset: 5109
CVS date: 2003/06/27 13:56:55
-rw-r--r-- | src/libffmpeg/diff_to_ffmpeg_cvs.txt | 44 | ||||
-rw-r--r-- | src/libffmpeg/libavcodec/h263.c | 6 |
2 files changed, 50 insertions, 0 deletions
diff --git a/src/libffmpeg/diff_to_ffmpeg_cvs.txt b/src/libffmpeg/diff_to_ffmpeg_cvs.txt index 8e5b3be6c..b3934e634 100644 --- a/src/libffmpeg/diff_to_ffmpeg_cvs.txt +++ b/src/libffmpeg/diff_to_ffmpeg_cvs.txt @@ -611,3 +611,47 @@ diff -u -r1.31 mpegvideo.c if (s->fixed_qscale) s->frame_qscale = s->current_picture.quality; +Index: libavcodec/h263.c +=================================================================== +RCS file: /cvsroot/xine/xine-lib/src/libffmpeg/libavcodec/h263.c,v +retrieving revision 1.29 +diff -u -r1.29 h263.c +--- libavcodec/h263.c 19 Jun 2003 00:47:19 -0000 1.29 ++++ libavcodec/h263.c 27 Jun 2003 13:51:30 -0000 +@@ -4606,6 +4606,7 @@ + s->divx_version= ver; + s->divx_build= build; + s->divx_packed= e==3 && last=='p'; ++#if 0 + if(s->picture_number==0){ + printf("This file was encoded with DivX%d Build%d", ver, build); + if(s->divx_packed) +@@ -4613,6 +4614,7 @@ + else + printf("\n"); + } ++#endif + } + + /* ffmpeg detection */ +@@ -4628,16 +4630,20 @@ + if(e==4){ + s->ffmpeg_version= ver*256*256 + ver2*256 + ver3; + s->lavc_build= build; ++#if 0 + if(s->picture_number==0) + printf("This file was encoded with libavcodec build %d\n", build); ++#endif + } + + /* xvid detection */ + e=sscanf(buf, "XviD%d", &build); + if(e==1){ + s->xvid_build= build; ++#if 0 + if(s->picture_number==0) + printf("This file was encoded with XviD build %d\n", build); ++#endif + } + + //printf("User Data: %s\n", buf); diff --git a/src/libffmpeg/libavcodec/h263.c b/src/libffmpeg/libavcodec/h263.c index 5b3119ac9..7fe89f7bc 100644 --- a/src/libffmpeg/libavcodec/h263.c +++ b/src/libffmpeg/libavcodec/h263.c @@ -4606,6 +4606,7 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){ s->divx_version= ver; s->divx_build= build; s->divx_packed= e==3 && last=='p'; +#if 0 if(s->picture_number==0){ printf("This file was encoded with DivX%d Build%d", ver, build); if(s->divx_packed) @@ -4613,6 +4614,7 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){ else printf("\n"); } +#endif } /* ffmpeg detection */ @@ -4628,16 +4630,20 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){ if(e==4){ s->ffmpeg_version= ver*256*256 + ver2*256 + ver3; s->lavc_build= build; +#if 0 if(s->picture_number==0) printf("This file was encoded with libavcodec build %d\n", build); +#endif } /* xvid detection */ e=sscanf(buf, "XviD%d", &build); if(e==1){ s->xvid_build= build; +#if 0 if(s->picture_number==0) printf("This file was encoded with XviD build %d\n", build); +#endif } //printf("User Data: %s\n", buf); |