mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 12:15:19 +00:00
ext/dvdnav/README: Update the README to use dvddemux
Original commit message from CVS: * ext/dvdnav/README: Update the README to use dvddemux * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_getcaps): Ensure getcaps returns a subset of the template caps * gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_base_init), (gst_mpeg2subt_init): Ensure getcaps returns a subset of the template caps * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_class_init), (gst_dvd_demux_init), (gst_dvd_demux_get_video_stream), (gst_dvd_demux_get_subpicture_stream), (gst_dvd_demux_send_subbuffer), (gst_dvd_demux_set_cur_subpicture): * gst/mpegstream/gstdvddemux.h: Set the explicit caps on the current_video pad before pushing anything * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream), (gst_mpeg_demux_get_audio_stream): Free caps used to gst_pad_set_explicit_caps, which takes a const GstCaps *
This commit is contained in:
parent
8d23684c03
commit
8db79f94fc
2 changed files with 23 additions and 9 deletions
21
ChangeLog
21
ChangeLog
|
@ -1,3 +1,24 @@
|
||||||
|
2004-07-28 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
|
* ext/dvdnav/README:
|
||||||
|
Update the README to use dvddemux
|
||||||
|
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_getcaps):
|
||||||
|
Ensure getcaps returns a subset of the template caps
|
||||||
|
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_base_init),
|
||||||
|
(gst_mpeg2subt_init):
|
||||||
|
Ensure getcaps returns a subset of the template caps
|
||||||
|
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_class_init),
|
||||||
|
(gst_dvd_demux_init), (gst_dvd_demux_get_video_stream),
|
||||||
|
(gst_dvd_demux_get_subpicture_stream),
|
||||||
|
(gst_dvd_demux_send_subbuffer), (gst_dvd_demux_set_cur_subpicture):
|
||||||
|
* gst/mpegstream/gstdvddemux.h:
|
||||||
|
Set the explicit caps on the current_video pad before pushing
|
||||||
|
anything
|
||||||
|
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream),
|
||||||
|
(gst_mpeg_demux_get_audio_stream):
|
||||||
|
Free caps used to gst_pad_set_explicit_caps, which takes a const
|
||||||
|
GstCaps *
|
||||||
|
|
||||||
2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* configure.ac: update GStreamer requirement to 0.8.4 because of
|
* configure.ac: update GStreamer requirement to 0.8.4 because of
|
||||||
|
|
|
@ -164,7 +164,6 @@ gst_pixbufscale_getcaps (GstPad * pad)
|
||||||
GstCaps *othercaps;
|
GstCaps *othercaps;
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
GstPad *otherpad;
|
GstPad *otherpad;
|
||||||
int i;
|
|
||||||
|
|
||||||
pixbufscale = GST_PIXBUFSCALE (gst_pad_get_parent (pad));
|
pixbufscale = GST_PIXBUFSCALE (gst_pad_get_parent (pad));
|
||||||
|
|
||||||
|
@ -172,14 +171,8 @@ gst_pixbufscale_getcaps (GstPad * pad)
|
||||||
pixbufscale->srcpad;
|
pixbufscale->srcpad;
|
||||||
othercaps = gst_pad_get_allowed_caps (otherpad);
|
othercaps = gst_pad_get_allowed_caps (otherpad);
|
||||||
|
|
||||||
caps = gst_caps_copy (othercaps);
|
caps = gst_caps_intersect (othercaps, gst_pad_get_pad_template_caps (pad));
|
||||||
for (i = 0; i < gst_caps_get_size (caps); i++) {
|
gst_caps_free (othercaps);
|
||||||
GstStructure *structure = gst_caps_get_structure (caps, i);
|
|
||||||
|
|
||||||
gst_structure_set (structure,
|
|
||||||
"width", GST_TYPE_INT_RANGE, 16, G_MAXINT,
|
|
||||||
"height", GST_TYPE_INT_RANGE, 16, G_MAXINT, NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
GST_DEBUG ("getcaps are: %" GST_PTR_FORMAT, caps);
|
GST_DEBUG ("getcaps are: %" GST_PTR_FORMAT, caps);
|
||||||
return caps;
|
return caps;
|
||||||
|
|
Loading…
Reference in a new issue