mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Upgrade MediaPlayer with gstreamer playbin (for GST > 18)
Change implementation of gst pipeline in MediaPlayer to use gstreamer playbin. This makes everything works more smoothly (including instant rate change). This also opens the possibility to allow audio mixing. Other bugfixes include set play speed rate at start, add video effects on reopen media player.
This commit is contained in:
@@ -414,6 +414,7 @@ void SessionVisitor::visit(MediaPlayer &n)
|
||||
newelement->SetAttribute("play", n.isPlaying());
|
||||
newelement->SetAttribute("loop", (int) n.loop());
|
||||
newelement->SetAttribute("speed", n.playSpeed());
|
||||
newelement->SetAttribute("video_effect", n.videoEffect().c_str());
|
||||
newelement->SetAttribute("software_decoding", n.softwareDecodingForced());
|
||||
newelement->SetAttribute("rewind_on_disabled", n.rewindOnDisabled());
|
||||
newelement->SetAttribute("sync_to_metronome", (int) n.syncToMetronome());
|
||||
|
||||
Reference in New Issue
Block a user