GNOME Bugzilla – Bug 774412
gdp: parsing GstStream in stream-start event issue
Last modified: 2018-11-03 12:38:15 UTC
Created attachment 339808 [details] mpegts gdp test file https://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=63f6f05d66537877365a1099ac176dc3afbb9f6b introduced variable GstStream. This is added in the stream-start event by tsdemux. First, running the command: gst-launch-1.0 -v filesrc location= mpegts.gdp ! gdpdepay ! tsdemux ! identity silent=false ! ac3parse ! gdppay ! filesink location= eac3.gdp We can see the variable stream (stream=(GstStream)"\(GstStream\)\ stream1"): E (type: stream-start (10254), GstEventStreamStart, stream-id=(string)fd91ddf0b44530850315c637f356514d:1282/000000e6, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, stream=(GstStream)"\(GstStream\)\ stream1", group-id=(uint)0;) 0x75b02450 Then trying to gdpdepay eac3.gdp: gst-launch-1.0 -v --gst-debug=*gdp*:5 filesrc location= eac3.gdp ! gdpdepay ! fakesink silent=false We have: Could not parse payload string: GstEventStreamStart, stream-id=(string)fd91ddf0b44530850315c637f356514d:1282/000000e6, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, stream=(GstStream)"\(GstStream\)\ stream1", group-id=(uint)0; Removing the stream variable makes it working. It seems that something is missing in gstvalue or gststructure ?
Created attachment 339809 [details] eac3 gdp file
Created attachment 348640 [details] [review] fix serialization/deserialization of GstStream
-- 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/gstreamer/issues/205.