qtdemux: Properly return stream flags when parsing trex atom
authorSebastian Dröge <sebastian@centricular.com>
Wed, 9 Apr 2014 06:58:04 +0000 (08:58 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 9 Apr 2014 06:58:48 +0000 (08:58 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=727867

gst/isomp4/qtdemux.c

index fe293ee..ce7c495 100644 (file)
@@ -2418,7 +2418,7 @@ qtdemux_parse_trex (GstQTDemux * qtdemux, QtDemuxStream * stream,
 
   *ds_duration = stream->def_sample_duration;
   *ds_size = stream->def_sample_size;
-  *ds_size = stream->def_sample_size;
+  *ds_flags = stream->def_sample_flags;
 
   /* even then, above values are better than random ... */
   if (G_UNLIKELY (!stream->parsed_trex)) {