GNOME Bugzilla – Bug 782780
discoverer: Child/parent stream equivalence detection is too strict
Last modified: 2017-05-29 07:56:49 UTC
+++ This bug was initially created as a clone of Bug #782697 +++ Problem here is that discoverer considers child streams the same based on the caps. If the caps intersect (after removing stream-format and alignment and parsed and framed fields), they are considered the same. However streams can also be the same otherwise, e.g. when the width/height fields differ (demuxer had wrong info, parser gets correct), or when the codec_data differs (which is the case here, h265parse creates different but equivalent codec_data). Just looking at the caps name is not enough though, as video/mpeg can be container format or elementary stream. We could remove more fields, basically what copy_and_clean_caps() in missing-plugins.c does.
Created attachment 352078 [details] [review] discoverer: Clean up more fields to decide if parent/child streams are equivalent
Attachment 352078 [details] pushed as cc281e8 - discoverer: Clean up more fields to decide if parent/child streams are equivalent