ffmpeginteropx / FFmpegInteropX

FFmpeg decoding library for Windows 10 UWP and WinUI 3 Apps
Apache License 2.0
205 stars 52 forks source link

Set name and language for MediaStreamDescriptor #424

Closed huynhsontung closed 6 months ago

huynhsontung commented 6 months ago

Values for Name and Language propagate to AudioTrack and VideoTrack as expected. Without these values, getting the Name and Language of each stream is a bit cumbersome.

image

huynhsontung commented 6 months ago

@lukasf Thank you. Yes, I am aware of these properties in FFmpegMediaSource. I personally don't want to pass FFmpegMediaSource around between components in my project as I want to abstract it away. Having these properties available right on the track is more convenient for me.

lukasf commented 6 months ago

Alright, merged. Thank you @huynhsontung

softworkz commented 6 months ago

@huynhsontung - Good change, had thought about looking into that as well!