diff options
Diffstat (limited to 'src/libxinevdec')
-rw-r--r-- | src/libxinevdec/cinepak.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/cyuv.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/fli.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/foovideo.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/idcinvideo.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/image.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/interplayvideo.c | 6 | ||||
-rw-r--r-- | src/libxinevdec/msrle.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/msvc.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/qtrle.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/qtrpza.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/qtsmc.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/rgb.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/roqvideo.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/svq1.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/wc3video.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/yuv.c | 12 |
17 files changed, 39 insertions, 39 deletions
diff --git a/src/libxinevdec/cinepak.c b/src/libxinevdec/cinepak.c index 0ab0b184c..b1de77eff 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.31 2003/10/23 20:12:34 mroi Exp $ + * $Id: cinepak.c,v 1.32 2003/11/15 13:01:22 miguelfreitas Exp $ */ #include <stdlib.h> @@ -421,7 +421,7 @@ static void cvid_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { this->decoder_ok = 1; /* stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Cinepak"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Cinepak"); } else if (this->decoder_ok) { diff --git a/src/libxinevdec/cyuv.c b/src/libxinevdec/cyuv.c index e322f445e..d4603ae53 100644 --- a/src/libxinevdec/cyuv.c +++ b/src/libxinevdec/cyuv.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: cyuv.c,v 1.19 2003/10/23 20:12:34 mroi Exp $ + * $Id: cyuv.c,v 1.20 2003/11/15 13:01:22 miguelfreitas Exp $ */ /* And this is the header that came with the CYUV decoder: */ @@ -163,7 +163,7 @@ static void cyuv_decode_data (video_decoder_t *this_gen, this->skipframes = 0; this->video_step = buf->decoder_info[1]; - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Creative YUV"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Creative YUV"); return; } diff --git a/src/libxinevdec/fli.c b/src/libxinevdec/fli.c index ca295b4de..a40a2786b 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.21 2003/10/23 20:12:34 mroi Exp $ + * $Id: fli.c,v 1.22 2003/11/15 13:01:22 miguelfreitas Exp $ */ #include <stdio.h> @@ -454,7 +454,7 @@ static void fli_decode_data (video_decoder_t *this_gen, this->decoder_ok = 1; /* load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("FLI/FLC Video"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "FLI/FLC Video"); return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/foovideo.c b/src/libxinevdec/foovideo.c index 1528e4113..9ab2a5651 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.16 2003/10/23 20:12:34 mroi Exp $ + * $Id: foovideo.c,v 1.17 2003/11/15 13:01:23 miguelfreitas Exp $ */ #include <stdio.h> @@ -111,7 +111,7 @@ static void foovideo_decode_data (video_decoder_t *this_gen, this->size = 0; /* take this opportunity to load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("foovideo"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "foovideo"); /* 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 8d60a1d34..605986e12 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.16 2003/10/24 02:57:58 tmmm Exp $ + * $Id: idcinvideo.c,v 1.17 2003/11/15 13:01:23 miguelfreitas Exp $ */ #include <stdio.h> @@ -267,7 +267,7 @@ static void idcinvideo_decode_data (video_decoder_t *this_gen, this->decoder_ok = 1; /* load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Id CIN Video"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Id CIN Video"); return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/image.c b/src/libxinevdec/image.c index 42e5a785c..23712f793 100644 --- a/src/libxinevdec/image.c +++ b/src/libxinevdec/image.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: image.c,v 1.7 2003/10/23 20:12:34 mroi Exp $ + * $Id: image.c,v 1.8 2003/11/15 13:01:23 miguelfreitas Exp $ * * a image video decoder */ @@ -266,7 +266,7 @@ static void end_callback(png_structp png_ptr, png_infop info) { *out = le2me_16(*out); } } - this->stream->stream_info[XINE_STREAM_INFO_FRAME_DURATION] = img->duration; + xine_set_stream_info(this->stream, XINE_STREAM_INFO_FRAME_DURATION, img->duration); img->draw(img, this->stream); img->free(img); } diff --git a/src/libxinevdec/interplayvideo.c b/src/libxinevdec/interplayvideo.c index 390de4d06..570877414 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.5 2003/10/23 20:12:34 mroi Exp $ + * $Id: interplayvideo.c,v 1.6 2003/11/15 13:01:23 miguelfreitas Exp $ */ #include <stdio.h> @@ -1177,8 +1177,8 @@ static void interplay_decode_data (video_decoder_t *this_gen, this->current_planes = 1; /* take this opportunity to load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = - strdup("Interplay MVE Video"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, + "Interplay MVE Video"); this->decoder_ok = 1; diff --git a/src/libxinevdec/msrle.c b/src/libxinevdec/msrle.c index 8cf86b41e..3f6e7eed4 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.19 2003/10/23 20:12:34 mroi Exp $ + * $Id: msrle.c,v 1.20 2003/11/15 13:01:24 miguelfreitas Exp $ */ #include <stdio.h> @@ -227,7 +227,7 @@ static void msrle_decode_data (video_decoder_t *this_gen, this->decoder_ok = 1; /* load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Microsoft RLE"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Microsoft RLE"); return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/msvc.c b/src/libxinevdec/msvc.c index 46b95a5f3..4beee4021 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.24 2003/10/23 20:12:34 mroi Exp $ + * $Id: msvc.c,v 1.25 2003/11/15 13:01:24 miguelfreitas Exp $ */ #include <stdlib.h> @@ -256,7 +256,7 @@ static void msvc_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { this->decoder_ok = 1; /* load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Microsoft Video-1"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Microsoft Video-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 e55b81140..b227184a9 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.14 2003/10/23 20:12:34 mroi Exp $ + * $Id: qtrle.c,v 1.15 2003/11/15 13:01:25 miguelfreitas Exp $ */ #include <stdio.h> @@ -862,7 +862,7 @@ 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); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, codec_name); return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/qtrpza.c b/src/libxinevdec/qtrpza.c index 11b3ddaf7..d2249bec5 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.17 2003/10/23 20:12:34 mroi Exp $ + * $Id: qtrpza.c,v 1.18 2003/11/15 13:01:25 miguelfreitas Exp $ */ #include <stdio.h> @@ -321,7 +321,7 @@ static void qtrpza_decode_data (video_decoder_t *this_gen, this->decoder_ok = 1; /* load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Quicktime Video (RPZA)"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Quicktime Video (RPZA)"); return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/qtsmc.c b/src/libxinevdec/qtsmc.c index df770f08f..b33ebaa01 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.17 2003/10/23 20:12:34 mroi Exp $ + * $Id: qtsmc.c,v 1.18 2003/11/15 13:01:25 miguelfreitas Exp $ */ #include <stdio.h> @@ -553,7 +553,7 @@ static void qtsmc_decode_data (video_decoder_t *this_gen, this->decoder_ok = 1; /* load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Quicktime Graphics (SMC)"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Quicktime Graphics (SMC)"); return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/rgb.c b/src/libxinevdec/rgb.c index b2fbffa9a..7e53860ce 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.20 2003/10/23 20:12:34 mroi Exp $ + * $Id: rgb.c,v 1.21 2003/11/15 13:01:26 miguelfreitas Exp $ */ #include <stdio.h> @@ -125,7 +125,7 @@ static void rgb_decode_data (video_decoder_t *this_gen, this->decoder_ok = 1; /* load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Raw RGB"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Raw RGB"); return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/roqvideo.c b/src/libxinevdec/roqvideo.c index d505606f1..111d3503b 100644 --- a/src/libxinevdec/roqvideo.c +++ b/src/libxinevdec/roqvideo.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: roqvideo.c,v 1.21 2003/10/24 02:57:58 tmmm Exp $ + * $Id: roqvideo.c,v 1.22 2003/11/15 13:01:26 miguelfreitas Exp $ */ /* And this is the header that came with the RoQ video decoder: */ @@ -427,7 +427,7 @@ static void roqvideo_decode_data (video_decoder_t *this_gen, memset(this->v[1], 0x80, this->c_size); /* load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("RoQ VQ Video"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "RoQ VQ Video"); return; } diff --git a/src/libxinevdec/svq1.c b/src/libxinevdec/svq1.c index fe5eb2999..f032b590c 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.26 2003/10/23 20:12:34 mroi Exp $ + * $Id: svq1.c,v 1.27 2003/11/15 13:01:26 miguelfreitas Exp $ */ #include <stdio.h> @@ -1340,7 +1340,7 @@ static void svq1dec_decode_data (video_decoder_t *this_gen, buf_element_t *buf) this->decoder_ok = 1; /* load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Sorenson Video 1"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Sorenson Video 1"); } else if (this->decoder_ok) { diff --git a/src/libxinevdec/wc3video.c b/src/libxinevdec/wc3video.c index 14c2a746e..93290cf02 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.15 2003/10/23 20:12:34 mroi Exp $ + * $Id: wc3video.c,v 1.16 2003/11/15 13:01:27 miguelfreitas Exp $ */ #include <stdio.h> @@ -387,7 +387,7 @@ static void wc3video_decode_data (video_decoder_t *this_gen, this->decoder_ok = 1; /* load the stream/meta info */ - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Wing Commander III Video"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Wing Commander III Video"); return; } else if (this->decoder_ok) { diff --git a/src/libxinevdec/yuv.c b/src/libxinevdec/yuv.c index eeb732169..9d52cfdcb 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.23 2003/10/23 20:12:34 mroi Exp $ + * $Id: yuv.c,v 1.24 2003/11/15 13:01:27 miguelfreitas Exp $ */ #include <stdio.h> @@ -118,24 +118,24 @@ static void yuv_decode_data (video_decoder_t *this_gen, switch (buf->type) { case BUF_VIDEO_YV12: - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Raw YV12"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Raw YV12"); break; case BUF_VIDEO_YVU9: - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Raw YVU9"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Raw YVU9"); break; case BUF_VIDEO_GREY: - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Greyscale YUV"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Greyscale YUV"); break; case BUF_VIDEO_I420: - this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Raw I420"); + xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Raw I420"); break; } - this->stream->stream_info[XINE_STREAM_INFO_FRAME_DURATION] = this->video_step; + xine_set_stream_info(this->stream, XINE_STREAM_INFO_FRAME_DURATION, this->video_step); return; } else if (this->decoder_ok && !(buf->decoder_flags & BUF_FLAG_SPECIAL)) { |