AW: AW: AW: AW: AW: Video break when using with splitmuxsink

Thornton, Keith keith.thornton at zeiss.com
Tue Sep 1 09:39:30 UTC 2020


Hi, 
the code where you call gst_element_send_event(pipeline, gst_event_new_eos());
is in a different thread from the streaming thread which calls your message handler. It should not be a problem in C to wait in the calling thread until EOS is reported in the streaming thread. I just listed the various possibilities in C++ but setting a variable in one thread and looping in the other thread until the variable is set should also be possible in plain vanilla C.
Gruesse

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> Im Auftrag von ToanVnET
Gesendet: Dienstag, 1. September 2020 10:09
An: gstreamer-devel at lists.freedesktop.org
Betreff: Re: AW: AW: AW: AW: Video break when using with splitmuxsink

Hi, I tried add the message handler but it's like C++ and I'm using C. And I built with error:

     error: expected '=', ',', ';', 'asm' or '__attribute__' before '::'
token

I quite new in Gstreamer. So may you guide me how to use this message handler ? I very appreciate that.



--
Sent from: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgstreamer-devel.966125.n4.nabble.com%2F&data=02%7C01%7C%7Ccf14fc3a0d36408ce86a08d84e579ea6%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637345485513049696&sdata=l3Y28mpM%2FJWsjCRhLh5gNmIS6H8ApG4O1sV%2BI3IomNA%3D&reserved=0
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&data=02%7C01%7C%7Ccf14fc3a0d36408ce86a08d84e579ea6%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637345485513049696&sdata=JFMoVV4yEpjvDtulEH9uIjGiZyrsjL7grp9jCSe0hJE%3D&reserved=0


More information about the gstreamer-devel mailing list