asfdemux: Store the stream type in streams
authorEdward Hervey <edward@centricular.com>
Mon, 13 Nov 2017 10:09:31 +0000 (11:09 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 13 Nov 2017 10:09:31 +0000 (11:09 +0100)
The field was present but never set :)

gst/asfdemux/gstasfdemux.c

index 317f772..a12bc8a 100644 (file)
@@ -3144,8 +3144,10 @@ gst_asf_demux_parse_stream_object (GstASFDemux * demux, guint8 * data,
       break;
   }
 
-  if (stream)
+  if (stream) {
     stream->inspect_payload = inspect_payload;
+    stream->type = stream_type;
+  }
   return stream;
 
 not_enough_data: