mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
gst/real/gstrealvideodec.c: A RealVideo video inside a container (for example MKV) should use the
Original commit message from CVS: Patch by: Robin Stocker <robin at nibor dot org> * gst/real/gstrealvideodec.c: (gst_real_video_dec_setcaps): A RealVideo video inside a container (for example MKV) should use the PAR which is specified on the sinkpad caps. Fixes #558416.
This commit is contained in:
parent
80c3258a6a
commit
8fac56594e
2 changed files with 16 additions and 1 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,11 @@
|
|||
2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
Patch by: Robin Stocker <robin at nibor dot org>
|
||||
|
||||
* gst/real/gstrealvideodec.c: (gst_real_video_dec_setcaps):
|
||||
A RealVideo video inside a container (for example MKV) should use the
|
||||
PAR which is specified on the sinkpad caps. Fixes #558416.
|
||||
|
||||
2008-10-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_start),
|
||||
|
@ -353,7 +361,7 @@
|
|||
* gst/rtpmanager/gstrtpsession.c:
|
||||
(gst_rtp_session_event_send_rtcp_src), (create_send_rtcp_src):
|
||||
Install event handler on the rtcp_src pad, make LATENCY event return
|
||||
TRUE.
|
||||
TRUE. Fixes #556338.
|
||||
|
||||
2008-10-16 Edward Hervey <edward.hervey@collabora.co.uk>
|
||||
|
||||
|
|
|
@ -380,6 +380,13 @@ gst_real_video_dec_setcaps (GstPad * pad, GstCaps * caps)
|
|||
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('I', '4', '2', '0'),
|
||||
"framerate", GST_TYPE_FRACTION, framerate_num, framerate_denom,
|
||||
"width", G_TYPE_INT, width, "height", G_TYPE_INT, height, NULL);
|
||||
|
||||
/* set PAR if one was specified in the sink caps */
|
||||
if ((v = gst_structure_get_value (s, "pixel-aspect-ratio"))) {
|
||||
gst_structure_set_value (gst_caps_get_structure (caps, 0),
|
||||
"pixel-aspect-ratio", v);
|
||||
}
|
||||
|
||||
bres = gst_pad_set_caps (GST_PAD (dec->src), caps);
|
||||
gst_caps_unref (caps);
|
||||
if (!bres)
|
||||
|
|
Loading…
Reference in a new issue