GNOME Bugzilla – Bug 768268
qtdemux: Push caps only when it was updated
Last modified: 2016-07-04 10:51:19 UTC
qtdemux: Push caps only when it was updated Commit 7873bede3134b15e5066e8d14e54d1f5054d2063 caused new caps event per moof without consideration of duplication.
Created attachment 330702 [details] [review] qtdemux: Push caps only when it was updated
Review of attachment 330702 [details] [review]: ::: gst/isomp4/qtdemux.c @@ +7531,3 @@ } + + if (!prev_caps || !gst_caps_is_equal_fixed (prev_caps, stream->caps)) { Wouldn't it be better to just get prev_caps here? Then you don't need to carry it around all the time and unref it in all return paths but just have it locally here
Created attachment 330706 [details] [review] qtdemux: Push caps only when it was updated
Oops... Thanks for reviewing :) Please review the fixed patch.
Attachment 330706 [details] pushed as 231018b - qtdemux: Push caps only when it was updated