GNOME Bugzilla – Bug 748288
mpegtsmux: Need set right pid if pid is 0 when create streams.
Last modified: 2018-11-03 13:34:25 UTC
when camerabin use mpegtsmux as muxer, start video recording and then stop video recording and then start video recording, mpegtsmux get wrong pid. Attached patch to fix the issue.
Created attachment 302137 [details] [review] patch to fix the issue.
muxer will be set to READY state when stop video recording, so the pad_data->pid will be set to 0. re-start video recording will create stream, but don't call pad add function which give valid value to pad_data->pid, so the pad_data->pid is 0 when create stream, which will cause video recording hang. Attached patch to fix the issue.
Any comments?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/242.