Detects activity on GstPad

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Detects activity on GstPad

Matteo Valdina
Hi,
I wonder if there is an easy way to know what is the last TS of activity on a GstPad.

Or I need to add a pad probe for buffer and save this information each buffer that pass through the pad?

Best
Matteo 


--
“There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.”
- Tony Hoare

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Detects activity on GstPad

Nicolas Dufresne-5
Le jeudi 26 juillet 2018 à 08:50 -0500, Matteo Valdina a écrit :
> Hi,
> I wonder if there is an easy way to know what is the last TS of
> activity on a GstPad.
>
> Or I need to add a pad probe for buffer and save this information
> each buffer that pass through the pad?

A probe to detect activity on a pad seems fine to me. Otherwise it
would grow into a large API, because the definition of "activity"
depends on the use case.

>
> Best
> Matteo  
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment