From 847f0e85e8b0c8135294258a9507fba03cc1cc30 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sun, 16 Nov 2003 23:33:42 +0000 Subject: New stream/meta info (safe) stuff. BIG NOTE: use helpers to access to these informations (get/set/reset): _x_{stream,meta}_info_{get,set,reset}() are for internal use, don't use *_public() ones from inside the beast ;-) Some wrongly names "xine_" fonction renaming. CVS patchset: 5757 CVS date: 2003/11/16 23:33:42 --- src/libxinevdec/yuv.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/libxinevdec/yuv.c') diff --git a/src/libxinevdec/yuv.c b/src/libxinevdec/yuv.c index 9d52cfdcb..b2dc7ee01 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.24 2003/11/15 13:01:27 miguelfreitas Exp $ + * $Id: yuv.c,v 1.25 2003/11/16 23:33:48 f1rmb Exp $ */ #include @@ -118,24 +118,24 @@ static void yuv_decode_data (video_decoder_t *this_gen, switch (buf->type) { case BUF_VIDEO_YV12: - xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Raw YV12"); + _x_meta_info_set(this->stream, XINE_META_INFO_VIDEOCODEC, "Raw YV12"); break; case BUF_VIDEO_YVU9: - xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Raw YVU9"); + _x_meta_info_set(this->stream, XINE_META_INFO_VIDEOCODEC, "Raw YVU9"); break; case BUF_VIDEO_GREY: - xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Greyscale YUV"); + _x_meta_info_set(this->stream, XINE_META_INFO_VIDEOCODEC, "Greyscale YUV"); break; case BUF_VIDEO_I420: - xine_set_meta_info(this->stream, XINE_META_INFO_VIDEOCODEC, "Raw I420"); + _x_meta_info_set(this->stream, XINE_META_INFO_VIDEOCODEC, "Raw I420"); break; } - xine_set_stream_info(this->stream, XINE_STREAM_INFO_FRAME_DURATION, this->video_step); + _x_stream_info_set(this->stream, XINE_STREAM_INFO_FRAME_DURATION, this->video_step); return; } else if (this->decoder_ok && !(buf->decoder_flags & BUF_FLAG_SPECIAL)) { -- cgit v1.2.3