Skip to content
  • Alicia Boya García's avatar
    qtdemux: Initialize QtDemuxStream.segment in its constructor · 26cc201c
    Alicia Boya García authored and Sebastian Dröge's avatar Sebastian Dröge committed
    This patch moves the initialization of QtDemuxStream.segment from
    gst_qtdemux_add_stream() to _create_stream(). This ensures the segment
    is always initialized when the stream is created.
    
    Otherwise the segment format is left as GST_FORMAT_UNDEFINED in the case
    were a track is reparsed and qtdemux_reuse_and_configure_stream() is
    called instead of gst_qtdemux_add_stream(). (See
    qtdemux_expose_streams() in the non streams-aware case.)
    26cc201c