- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
simple_player application in audio_video_codecs in SelectSplitter first calls Splitter::Init and then calls Splitter::Run. None of the examples in umc-manual.pdf appear to suggest calling the Run function. The manual simply says that Run "runs the internal processing thread". Can anyone comment on the need for calling the Run function? Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
there is comment from our expert:
In fact, Run() after Init() is needed for MP4 splitter only. For other splitters Run() right after Init() has no effect.
Actually Run method was not inserted in MP4Splitter::Init in order to save system resources. MP4 Splitter performs each split track in a separate thread. If one wants to split other tracks he can call Stop, then change his params and then call Run. Only threads for his new configuration will start then.
Regards,
Vladimir
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page