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/demuxers/demux_yuv_frames.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/demuxers/demux_yuv_frames.c') diff --git a/src/demuxers/demux_yuv_frames.c b/src/demuxers/demux_yuv_frames.c index 73dd000a9..c8cd4ce8a 100644 --- a/src/demuxers/demux_yuv_frames.c +++ b/src/demuxers/demux_yuv_frames.c @@ -20,7 +20,7 @@ */ /* - * $Id: demux_yuv_frames.c,v 1.11 2003/11/15 14:01:05 miguelfreitas Exp $ + * $Id: demux_yuv_frames.c,v 1.12 2003/11/16 23:33:44 f1rmb Exp $ * * dummy demultiplexer for raw yuv frames (delivered by v4l) */ @@ -91,7 +91,7 @@ static int switch_buf(demux_yuv_frames_t *this , buf_element_t *buf){ result = 1; /* 1, we still should read audio */ break; case BUF_AUDIO_RAWPCM: - if (!xine_get_stream_info(this->stream, XINE_STREAM_INFO_HAS_VIDEO)) + if (!_x_stream_info_get(this->stream, XINE_STREAM_INFO_HAS_VIDEO)) _x_demux_control_newpts(this->stream, buf->pts, 0); this->audio_fifo->put(this->audio_fifo, buf); break; @@ -108,7 +108,7 @@ static int demux_yuv_frames_send_chunk (demux_plugin_t *this_gen){ buf_element_t *buf; do { - if ( xine_get_stream_info(this->stream, XINE_STREAM_INFO_HAS_VIDEO) ) + if ( _x_stream_info_get(this->stream, XINE_STREAM_INFO_HAS_VIDEO) ) buf = this->input->read_block (this->input, this->video_fifo, 0); else buf = this->input->read_block (this->input, this->audio_fifo, 0); -- cgit v1.2.3