Detect embedded subtitle streams and display count in clip properties
Implements step 1 of #1475.
When loading MKV files, the stream detection loop now also looks for subtitle streams using meta.media.X.stream.type. Since Kdenlive 26.08 will require MLT 7.38 which correctly sets the stream type to "subtitle", we can detect them directly by type.
Changes:
-
clipcontroller.cpp: detects subtitle streams by type and stores the count askdenlive:subtitle_streams -
clipcontroller.h: addedsubtitleStreamsCount()declaration -
clippropertiescontroller.cpp: displays "Subtitle streams: X" in the clip properties panel (only when count > 0)
Tested with the sample MKV file attached to the issue, "Subtitle streams: 1" shows up correctly in the properties panel.
Edited by Yash Bavadiya