gdp: parsing GstStream in stream-start event issue
Submitted by Nicolas Huet
Link to original bug (#774412)
Description
Created attachment 339808
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 ?
Attachment 339808, "mpegts gdp test file":
mpegts.gdp
Version: 1.10.0