diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-08 01:02:27 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-08 01:02:27 +0000 |
commit | 89b2bf76f80eb05badeb340e2a00a8fbb6e17db3 (patch) | |
tree | dfd705e620522f0f22fa957ac403ee2923420274 /src/libxinevdec | |
parent | 183830cbd2d23d2e616b617b1f5c7ab6867882b1 (diff) | |
download | xine-lib-89b2bf76f80eb05badeb340e2a00a8fbb6e17db3.tar.gz xine-lib-89b2bf76f80eb05badeb340e2a00a8fbb6e17db3.tar.bz2 |
fixes/cleanups of the handled/unhandled codecs
for more information see message on xine-devel
CVS patchset: 3818
CVS date: 2003/01/08 01:02:27
Diffstat (limited to 'src/libxinevdec')
-rw-r--r-- | src/libxinevdec/cinepak.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/cyuv.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/fli.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/foovideo.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/idcinvideo.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/interplayvideo.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/msrle.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/msvc.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/qtrle.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/qtrpza.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/qtsmc.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/rgb.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/roqvideo.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/svq1.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/wc3video.c | 3 | ||||
-rw-r--r-- | src/libxinevdec/yuv.c | 4 |
16 files changed, 16 insertions, 33 deletions
diff --git a/src/libxinevdec/cinepak.c b/src/libxinevdec/cinepak.c index d2b98ee04..ad22a7d89 100644 --- a/src/libxinevdec/cinepak.c +++ b/src/libxinevdec/cinepak.c @@ -22,7 +22,7 @@ * based on overview of Cinepak algorithm and example decoder * by Tim Ferguson: http://www.csse.monash.edu.au/~timf/ * - * $Id: cinepak.c,v 1.28 2002/12/21 12:56:48 miguelfreitas Exp $ + * $Id: cinepak.c,v 1.29 2003/01/08 01:02:31 miguelfreitas Exp $ */ #include <stdlib.h> @@ -420,7 +420,6 @@ static void cvid_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { /* stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Cinepak"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/cyuv.c b/src/libxinevdec/cyuv.c index 738ddae29..22871cd82 100644 --- a/src/libxinevdec/cyuv.c +++ b/src/libxinevdec/cyuv.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: cyuv.c,v 1.15 2002/12/21 12:56:48 miguelfreitas Exp $ + * $Id: cyuv.c,v 1.16 2003/01/08 01:02:31 miguelfreitas Exp $ */ /* And this is the header that came with the CYUV decoder: */ @@ -163,7 +163,6 @@ static void cyuv_decode_data (video_decoder_t *this_gen, this->video_step = buf->decoder_info[1]; this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Creative YUV"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; return; } diff --git a/src/libxinevdec/fli.c b/src/libxinevdec/fli.c index 0f895cbf5..45589c0a5 100644 --- a/src/libxinevdec/fli.c +++ b/src/libxinevdec/fli.c @@ -23,7 +23,7 @@ * avoid when implementing a FLI decoder, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: fli.c,v 1.16 2002/12/23 21:15:06 tmmm Exp $ + * $Id: fli.c,v 1.17 2003/01/08 01:02:31 miguelfreitas Exp $ */ #include <stdio.h> @@ -447,7 +447,6 @@ static void fli_decode_data (video_decoder_t *this_gen, /* load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("FLI/FLC Video"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/foovideo.c b/src/libxinevdec/foovideo.c index dc2cb1b09..57c603f84 100644 --- a/src/libxinevdec/foovideo.c +++ b/src/libxinevdec/foovideo.c @@ -23,7 +23,7 @@ * value from the last frame. This creates a slowly rotating solid color * frame when the frames are played in succession. * - * $Id: foovideo.c,v 1.13 2002/12/21 12:56:48 miguelfreitas Exp $ + * $Id: foovideo.c,v 1.14 2003/01/08 01:02:31 miguelfreitas Exp $ */ #include <stdio.h> @@ -110,7 +110,6 @@ static void foovideo_decode_data (video_decoder_t *this_gen, /* take this opportunity to load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("foovideo"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; /* do anything else relating to initializing this decoder */ this->current_yuv_byte = 0; diff --git a/src/libxinevdec/idcinvideo.c b/src/libxinevdec/idcinvideo.c index b1a3e0d78..27fbc8931 100644 --- a/src/libxinevdec/idcinvideo.c +++ b/src/libxinevdec/idcinvideo.c @@ -21,7 +21,7 @@ * the Id CIN format, visit: * http://www.csse.monash.edu.au/~timf/ * - * $Id: idcinvideo.c,v 1.11 2002/12/21 12:56:48 miguelfreitas Exp $ + * $Id: idcinvideo.c,v 1.12 2003/01/08 01:02:31 miguelfreitas Exp $ */ #include <stdio.h> @@ -268,7 +268,6 @@ static void idcinvideo_decode_data (video_decoder_t *this_gen, /* load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Id CIN Video"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/interplayvideo.c b/src/libxinevdec/interplayvideo.c index a1473ac17..23680a147 100644 --- a/src/libxinevdec/interplayvideo.c +++ b/src/libxinevdec/interplayvideo.c @@ -21,7 +21,7 @@ * For more information regarding the Interplay MVE format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: interplayvideo.c,v 1.1 2002/12/28 18:27:14 tmmm Exp $ + * $Id: interplayvideo.c,v 1.2 2003/01/08 01:02:31 miguelfreitas Exp $ */ #include <stdio.h> @@ -1177,7 +1177,6 @@ static void interplay_decode_data (video_decoder_t *this_gen, /* take this opportunity to load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Interplay MVE Video"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; this->decoder_ok = 1; diff --git a/src/libxinevdec/msrle.c b/src/libxinevdec/msrle.c index 8eded855b..fbc327ead 100644 --- a/src/libxinevdec/msrle.c +++ b/src/libxinevdec/msrle.c @@ -21,7 +21,7 @@ * For more information on the MS RLE format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: msrle.c,v 1.15 2002/12/21 12:56:48 miguelfreitas Exp $ + * $Id: msrle.c,v 1.16 2003/01/08 01:02:31 miguelfreitas Exp $ */ #include <stdio.h> @@ -226,7 +226,6 @@ static void msrle_decode_data (video_decoder_t *this_gen, /* load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Microsoft RLE"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/msvc.c b/src/libxinevdec/msvc.c index 6f2622f94..ba8e06acc 100644 --- a/src/libxinevdec/msvc.c +++ b/src/libxinevdec/msvc.c @@ -22,7 +22,7 @@ * based on overview of Microsoft Video-1 algorithm * by Mike Melanson: http://www.pcisys.net/~melanson/codecs/video1.txt * - * $Id: msvc.c,v 1.21 2002/12/21 12:56:49 miguelfreitas Exp $ + * $Id: msvc.c,v 1.22 2003/01/08 01:02:31 miguelfreitas Exp $ */ #include <stdlib.h> @@ -255,7 +255,6 @@ static void msvc_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { /* load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Microsoft Video-1"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; } else if (this->decoder_ok && !(buf->decoder_flags & BUF_FLAG_SPECIAL)) { diff --git a/src/libxinevdec/qtrle.c b/src/libxinevdec/qtrle.c index 47728bc32..f609183df 100644 --- a/src/libxinevdec/qtrle.c +++ b/src/libxinevdec/qtrle.c @@ -21,7 +21,7 @@ * For more information on the QT RLE format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: qtrle.c,v 1.11 2002/12/28 23:20:41 tmmm Exp $ + * $Id: qtrle.c,v 1.12 2003/01/08 01:02:31 miguelfreitas Exp $ */ #include <stdio.h> @@ -861,7 +861,6 @@ static void qtrle_decode_data (video_decoder_t *this_gen, /* load the stream/meta info */ sprintf(codec_name, "%d bpp Quicktime Animation (RLE)", this->depth & 0x1F); this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup(codec_name); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/qtrpza.c b/src/libxinevdec/qtrpza.c index ce508a6d2..ee80bb33a 100644 --- a/src/libxinevdec/qtrpza.c +++ b/src/libxinevdec/qtrpza.c @@ -21,7 +21,7 @@ * For more information about the RPZA format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: qtrpza.c,v 1.13 2002/12/21 12:56:49 miguelfreitas Exp $ + * $Id: qtrpza.c,v 1.14 2003/01/08 01:02:31 miguelfreitas Exp $ */ #include <stdio.h> @@ -320,7 +320,6 @@ static void qtrpza_decode_data (video_decoder_t *this_gen, /* load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Quicktime Video (RPZA)"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/qtsmc.c b/src/libxinevdec/qtsmc.c index 47f6c1c91..1df557d33 100644 --- a/src/libxinevdec/qtsmc.c +++ b/src/libxinevdec/qtsmc.c @@ -23,7 +23,7 @@ * For more information on the SMC format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: qtsmc.c,v 1.13 2002/12/21 12:56:49 miguelfreitas Exp $ + * $Id: qtsmc.c,v 1.14 2003/01/08 01:02:31 miguelfreitas Exp $ */ #include <stdio.h> @@ -552,7 +552,6 @@ static void qtsmc_decode_data (video_decoder_t *this_gen, /* load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Quicktime Graphics (SMC)"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/rgb.c b/src/libxinevdec/rgb.c index 4dbc09546..6b040ffd8 100644 --- a/src/libxinevdec/rgb.c +++ b/src/libxinevdec/rgb.c @@ -21,7 +21,7 @@ * Actually, this decoder just converts a raw RGB image to a YUY2 map * suitable for display under xine. * - * $Id: rgb.c,v 1.17 2002/12/21 12:56:49 miguelfreitas Exp $ + * $Id: rgb.c,v 1.18 2003/01/08 01:02:32 miguelfreitas Exp $ */ #include <stdio.h> @@ -124,7 +124,6 @@ static void rgb_decode_data (video_decoder_t *this_gen, /* load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Raw RGB"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/roqvideo.c b/src/libxinevdec/roqvideo.c index ae58c4df1..2f2fb6bd6 100644 --- a/src/libxinevdec/roqvideo.c +++ b/src/libxinevdec/roqvideo.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: roqvideo.c,v 1.17 2002/12/21 12:56:49 miguelfreitas Exp $ + * $Id: roqvideo.c,v 1.18 2003/01/08 01:02:32 miguelfreitas Exp $ */ /* And this is the header that came with the RoQ video decoder: */ @@ -425,7 +425,6 @@ static void roqvideo_decode_data (video_decoder_t *this_gen, /* load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("RoQ VQ Video"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; return; } diff --git a/src/libxinevdec/svq1.c b/src/libxinevdec/svq1.c index 9ba4477be..935172ff2 100644 --- a/src/libxinevdec/svq1.c +++ b/src/libxinevdec/svq1.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: svq1.c,v 1.22 2003/01/01 15:25:15 esnel Exp $ + * $Id: svq1.c,v 1.23 2003/01/08 01:02:32 miguelfreitas Exp $ */ #include <stdio.h> @@ -1339,7 +1339,6 @@ static void svq1dec_decode_data (video_decoder_t *this_gen, buf_element_t *buf) /* load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Sorenson Video 1"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/wc3video.c b/src/libxinevdec/wc3video.c index 47860f229..57286f02f 100644 --- a/src/libxinevdec/wc3video.c +++ b/src/libxinevdec/wc3video.c @@ -22,7 +22,7 @@ * For more information on the WC3 Movie format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: wc3video.c,v 1.12 2002/12/21 12:56:49 miguelfreitas Exp $ + * $Id: wc3video.c,v 1.13 2003/01/08 01:02:32 miguelfreitas Exp $ */ #include <stdio.h> @@ -386,7 +386,6 @@ static void wc3video_decode_data (video_decoder_t *this_gen, /* load the stream/meta info */ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Wing Commander III Video"); - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/yuv.c b/src/libxinevdec/yuv.c index 46a3d3add..3f9938476 100644 --- a/src/libxinevdec/yuv.c +++ b/src/libxinevdec/yuv.c @@ -21,7 +21,7 @@ * Actually, this decoder just reorganizes chunks of raw YUV data in such * a way that xine can display them. * - * $Id: yuv.c,v 1.17 2002/12/21 12:56:49 miguelfreitas Exp $ + * $Id: yuv.c,v 1.18 2003/01/08 01:02:32 miguelfreitas Exp $ */ #include <stdio.h> @@ -117,8 +117,6 @@ static void yuv_decode_data (video_decoder_t *this_gen, break; } - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; - return; } else if (this->decoder_ok && !(buf->decoder_flags & BUF_FLAG_SPECIAL)) { |