mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gst-libs/gst/riff/riff-media.c: Add MS video v1.
Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps), (gst_riff_create_video_template_caps): Add MS video v1. * gst/avi/gstavidemux.c: (gst_avi_demux_stream_index), (gst_avi_demux_stream_data): Add support for "rec-list" chunks.
This commit is contained in:
parent
1b72d42dc4
commit
970c587823
2 changed files with 23 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
2004-04-11 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
|
||||
(gst_riff_create_video_template_caps):
|
||||
Add MS video v1.
|
||||
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
|
||||
(gst_avi_demux_stream_data):
|
||||
Add support for "rec-list" chunks.
|
||||
|
||||
2004-04-11 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
|
||||
|
|
|
@ -208,6 +208,18 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
|||
*codec_name = g_strdup ("Cinepak video");
|
||||
break;
|
||||
|
||||
case GST_MAKE_FOURCC ('M', 'S', 'V', 'C'):
|
||||
case GST_MAKE_FOURCC ('m', 's', 'v', 'c'):
|
||||
case GST_MAKE_FOURCC ('C', 'R', 'A', 'M'):
|
||||
case GST_MAKE_FOURCC ('c', 'r', 'a', 'm'):
|
||||
case GST_MAKE_FOURCC ('W', 'H', 'A', 'M'):
|
||||
case GST_MAKE_FOURCC ('w', 'h', 'a', 'm'):
|
||||
caps = gst_caps_new_simple ("video/x-msvideocodec",
|
||||
"msvideoversion", G_TYPE_INT, 1, NULL);
|
||||
if (codec_name)
|
||||
*codec_name = g_strdup ("MS video v1");
|
||||
break;
|
||||
|
||||
default:
|
||||
GST_WARNING ("Unkown video fourcc " GST_FOURCC_FORMAT,
|
||||
GST_FOURCC_ARGS (codec_fcc));
|
||||
|
@ -380,6 +392,8 @@ gst_riff_create_video_template_caps (void)
|
|||
GST_MAKE_FOURCC ('D', 'I', 'V', 'X'),
|
||||
GST_MAKE_FOURCC ('X', 'V', 'I', 'D'),
|
||||
GST_MAKE_FOURCC ('3', 'I', 'V', '1'),
|
||||
GST_MAKE_FOURCC ('c', 'v', 'i', 'd'),
|
||||
GST_MAKE_FOURCC ('m', 's', 'v', 'c'),
|
||||
/* FILL ME */
|
||||
0
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue