[Bug 651496] encodebin seems to fail to pick up container variant

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 3 18:18:38 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=651496
  GStreamer | gst-plugins-base | git

--- Comment #10 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2011-08-04 01:18:31 UTC ---
Created an attachment (id=193217)
 View: https://bugzilla.gnome.org/attachment.cgi?id=193217
 Review: https://bugzilla.gnome.org/review?bug=651496&attachment=193217

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".

This patch applies on top of the patches of
https://bugzilla.gnome.org/show_bug.cgi?id=650652

I'm not entirely happy with the algorith that orders tha muxers, but it is
enough
for the 'variant' problem. Maybe someone has a better and more generic caps
comparison
algorith.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list