encodebin: Select muxer further
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 3 Aug 2011 16:31:59 +0000 (13:31 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 5 Sep 2011 20:48:36 +0000 (17:48 -0300)
commit2768ed75e099dac907528e13f4f7ef5a035b651a
treedf6cb7c9a732693d4c901949b61b19f978b8e0b1
parentde4fc848faf59281869be5de5abe7fdd500512f6
encodebin: Select muxer further

Sort muxers based on their caps and ranking before iterating to
find one that fits the profile.

Sorting is done by putting the elements that have a pad template
that can produce the exact caps that is on the profile. For example:
when asking for "video/quicktime, variant=iso", muxers that
have this exact caps on their pad templates will be put first on
the list than ones that have only "video/quicktime".

https://bugzilla.gnome.org/show_bug.cgi?id=651496
gst/encoding/gstencodebin.c