summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames Stembridge <jstembridge@users.sourceforge.net>2003-07-30 22:00:42 +0000
committerJames Stembridge <jstembridge@users.sourceforge.net>2003-07-30 22:00:42 +0000
commit3e2741738a152d6504d05b8d1cb74d2d92f7e948 (patch)
tree91e8e7b073a1ac32c6a1c9ef701a3de7f34d48fb /src
parentf2010e792316019b928aa218571d438e890e4dc3 (diff)
downloadxine-lib-3e2741738a152d6504d05b8d1cb74d2d92f7e948.tar.gz
xine-lib-3e2741738a152d6504d05b8d1cb74d2d92f7e948.tar.bz2
video is i420 not yv12
CVS patchset: 5225 CVS date: 2003/07/30 22:00:42
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_yuv4mpeg2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_yuv4mpeg2.c b/src/demuxers/demux_yuv4mpeg2.c
index 320afb62c..5f2135352 100644
--- a/src/demuxers/demux_yuv4mpeg2.c
+++ b/src/demuxers/demux_yuv4mpeg2.c
@@ -24,7 +24,7 @@
* tools, visit:
* http://mjpeg.sourceforge.net/
*
- * $Id: demux_yuv4mpeg2.c,v 1.24 2003/07/25 21:02:05 miguelfreitas Exp $
+ * $Id: demux_yuv4mpeg2.c,v 1.25 2003/07/30 22:00:42 jstembridge Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -186,7 +186,7 @@ static int demux_yuv4mpeg2_send_chunk(demux_plugin_t *this_gen) {
while(bytes_remaining) {
buf = this->video_fifo->buffer_pool_alloc (this->video_fifo);
- buf->type = BUF_VIDEO_YV12;
+ buf->type = BUF_VIDEO_I420;
buf->extra_info->input_pos = current_file_pos;
buf->extra_info->input_length = this->data_size;
buf->pts = pts;
@@ -237,7 +237,7 @@ static void demux_yuv4mpeg2_send_headers(demux_plugin_t *this_gen) {
buf->decoder_info[1] = this->frame_pts_inc; /* initial video_step */
memcpy(buf->content, &this->bih, sizeof(this->bih));
buf->size = sizeof(this->bih);
- buf->type = BUF_VIDEO_YV12;
+ buf->type = BUF_VIDEO_I420;
this->video_fifo->put (this->video_fifo, buf);
}