After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748288 - mpegtsmux: Need set right pid if pid is 0 when create streams.
mpegtsmux: Need set right pid if pid is 0 when create streams.
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-22 10:12 UTC by kevin
Modified: 2018-11-03 13:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix the issue. (1.25 KB, patch)
2015-04-22 10:16 UTC, kevin
none Details | Review

Description kevin 2015-04-22 10:12:47 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.
Comment 1 kevin 2015-04-22 10:16:43 UTC
Created attachment 302137 [details] [review]
patch to fix the issue.
Comment 2 kevin 2015-04-22 12:34:16 UTC
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.
Comment 3 kevin 2015-05-15 09:08:08 UTC
Any comments?
Comment 4 GStreamer system administrator 2018-11-03 13:34:25 UTC
-- 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.