mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
ext/ogg/gstogmparse.c: Fix build after riff changes.
Original commit message from CVS: * ext/ogg/gstogmparse.c: (gst_ogm_parse_chain): Fix build after riff changes.
This commit is contained in:
parent
a8bff2dd5e
commit
49d755a020
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
|
* ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
|
||||||
|
Fix build after riff changes.
|
||||||
|
|
||||||
2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
|
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
|
||||||
|
|
|
@ -580,7 +580,8 @@ gst_ogm_parse_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
caps = NULL;
|
caps = NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
caps = gst_riff_create_audio_caps (codec_id, NULL, NULL, NULL);
|
caps = gst_riff_create_audio_caps (codec_id,
|
||||||
|
NULL, NULL, NULL, NULL, NULL);
|
||||||
gst_caps_set_simple (caps,
|
gst_caps_set_simple (caps,
|
||||||
"channels", G_TYPE_INT, ogm->hdr.s.audio.channels,
|
"channels", G_TYPE_INT, ogm->hdr.s.audio.channels,
|
||||||
"rate", G_TYPE_INT, ogm->hdr.samples_per_unit, NULL);
|
"rate", G_TYPE_INT, ogm->hdr.samples_per_unit, NULL);
|
||||||
|
@ -605,7 +606,7 @@ gst_ogm_parse_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
ogm->hdr.time_unit, 10000000. / ogm->hdr.time_unit,
|
ogm->hdr.time_unit, 10000000. / ogm->hdr.time_unit,
|
||||||
ogm->hdr.samples_per_unit, ogm->hdr.default_len,
|
ogm->hdr.samples_per_unit, ogm->hdr.default_len,
|
||||||
ogm->hdr.buffersize, ogm->hdr.bits_per_sample);
|
ogm->hdr.buffersize, ogm->hdr.bits_per_sample);
|
||||||
caps = gst_riff_create_video_caps (fcc, NULL, NULL, NULL);
|
caps = gst_riff_create_video_caps (fcc, NULL, NULL, NULL, NULL, NULL);
|
||||||
gst_caps_set_simple (caps,
|
gst_caps_set_simple (caps,
|
||||||
"width", G_TYPE_INT, ogm->hdr.s.video.width,
|
"width", G_TYPE_INT, ogm->hdr.s.video.width,
|
||||||
"height", G_TYPE_INT, ogm->hdr.s.video.height,
|
"height", G_TYPE_INT, ogm->hdr.s.video.height,
|
||||||
|
|
Loading…
Reference in a new issue