mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 16:48:11 +00:00
gst/rtp/gstrtpmp4vpay.c: First set options, then set caps or else the baseclass will not know about the options, duh.
Original commit message from CVS: * gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_setcaps): First set options, then set caps or else the baseclass will not know about the options, duh.
This commit is contained in:
parent
2187906ae8
commit
2bbf2b424d
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-02-10 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_setcaps):
|
||||||
|
First set options, then set caps or else the baseclass
|
||||||
|
will not know about the options, duh.
|
||||||
|
|
||||||
2006-02-10 Wim Taymans <wim@fluendo.com>
|
2006-02-10 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_class_init),
|
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_class_init),
|
||||||
|
|
|
@ -204,6 +204,9 @@ gst_rtp_mp4v_pay_setcaps (GstBaseRTPPayload * payload, GstCaps * caps)
|
||||||
|
|
||||||
rtpmp4vpay = GST_RTP_MP4V_PAY (payload);
|
rtpmp4vpay = GST_RTP_MP4V_PAY (payload);
|
||||||
|
|
||||||
|
gst_basertppayload_set_options (payload, "video", TRUE, "MP4V-ES",
|
||||||
|
rtpmp4vpay->rate);
|
||||||
|
|
||||||
structure = gst_caps_get_structure (caps, 0);
|
structure = gst_caps_get_structure (caps, 0);
|
||||||
codec_info = gst_structure_get_value (structure, "codec_info");
|
codec_info = gst_structure_get_value (structure, "codec_info");
|
||||||
if (codec_info) {
|
if (codec_info) {
|
||||||
|
@ -233,9 +236,6 @@ gst_rtp_mp4v_pay_setcaps (GstBaseRTPPayload * payload, GstCaps * caps)
|
||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
gst_basertppayload_set_options (payload, "video", TRUE, "MP4V-ES",
|
|
||||||
rtpmp4vpay->rate);
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue