GNOME Bugzilla – Bug 797089
flvmux: Don't omit streamheader from caps on downstream reconfigure
Last modified: 2018-09-09 06:35:11 UTC
The reconfigured downstream elements (e.g., dynamically added sink element) most likely require the flv streamheader
Created attachment 373552 [details] [review] flvmux: Don't omit streamheader from caps on downstream reconfigure
Initially, I configured pipeline like ... ! flvmux ! tee name=t ! queue ! rtmpsink Then, during playing state, t. ! queue ! rtmpsink produced a caps without streamheader
The fix is correct, so I merged it. But can you explain a bit more how you trigger the problem, I'd like to see if we can write a simple unit test to prevent regressions. Attachment 373552 [details] pushed as 1cd5a52 - flvmux: Don't omit streamheader from caps on downstream reconfigure
Created attachment 373572 [details] [review] tests: flvmux: Add check consistency of src caps
(In reply to Olivier Crête from comment #3) > The fix is correct, so I merged it. But can you explain a bit more how you > trigger the problem, I'd like to see if we can write a simple unit test to > prevent regressions. The new unit test code is one example of the issue.