ffmpeginteropx / FFmpegInteropX

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

Set name and language for MediaStreamDescriptor #424

Closed huynhsontung closed 8 months ago

huynhsontung commented 8 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 8 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 8 months ago

Alright, merged. Thank you @huynhsontung

softworkz commented 8 months ago

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