mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
mpeg2enc: Lower the rank to MARGINAL
The rationale is that it can't be properly used right now when using it to encode mpeg2video because of the needs-to-be-rewritten properties and format negotiation. Other encoders will negotiate in a much saner fashion. One such example is that when you pick mpeg2enc for mpeg2video, the default value for the 'format' property is "Generic MPEG-1", which is completely wrong if downstream caps are mpeg2. The whole negotiation code needs some serious loving before this plugin can be bumped back up to a higher rank.
This commit is contained in:
parent
8c48375817
commit
261431ef17
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ plugin_init (GstPlugin * plugin)
|
|||
mjpeg_default_handler_verbosity (0);
|
||||
|
||||
return gst_element_register (plugin, "mpeg2enc",
|
||||
GST_RANK_SECONDARY, GST_TYPE_MPEG2ENC);
|
||||
GST_RANK_MARGINAL, GST_TYPE_MPEG2ENC);
|
||||
}
|
||||
|
||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||
|
|
Loading…
Reference in a new issue