mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtpmp4vpay: Increase ranking
Both rtpmp4vpay and rtpmp4gpay support MPEG4 elementary streams. But the most supported variant is the video-specific one (rtpmp4vpay), therefore increase the rank of that one so that auto-plugging of payloaders for MPEG4 elementary streams ends up picking that one and not the generic one.
This commit is contained in:
parent
9d6621a30d
commit
8b4db06733
1 changed files with 5 additions and 1 deletions
|
@ -622,6 +622,10 @@ gst_rtp_mp4v_pay_get_property (GObject * object, guint prop_id,
|
|||
gboolean
|
||||
gst_rtp_mp4v_pay_plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
/* Note: This element is marked at a "+1" rank to make sure that
|
||||
* auto-plugging of payloaders for MPEG4 elementary streams don't
|
||||
* end up using the 'rtpmp4gpay' element (generic mpeg4) which isn't
|
||||
* as well supported as this RFC */
|
||||
return gst_element_register (plugin, "rtpmp4vpay",
|
||||
GST_RANK_SECONDARY, GST_TYPE_RTP_MP4V_PAY);
|
||||
GST_RANK_SECONDARY + 1, GST_TYPE_RTP_MP4V_PAY);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue