summaryrefslogtreecommitdiff
path: root/gst/asfdemux
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2017-11-13 11:09:31 +0100
committerEdward Hervey <bilboed@bilboed.com>2017-11-13 11:09:31 +0100
commit2d9867b120bab04daec9ff20d1673ee7af52aada (patch)
tree21ee13a1b7e6f5c4ffec6cb4f875c3f544a9c6c7 /gst/asfdemux
parent83d7d2f67a81ad0d99aaf616248a6aa57a1e6f01 (diff)
downloadgstreamer-plugins-ugly-2d9867b120bab04daec9ff20d1673ee7af52aada.tar.gz
asfdemux: Store the stream type in streams
The field was present but never set :)
Diffstat (limited to 'gst/asfdemux')
-rw-r--r--gst/asfdemux/gstasfdemux.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c
index 317f7723..a12bc8a5 100644
--- a/gst/asfdemux/gstasfdemux.c
+++ b/gst/asfdemux/gstasfdemux.c
@@ -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: