how to set name for each thread in gstreamer

Stefan Sauer ensonic at hora-obscura.de
Wed Jul 25 14:05:47 PDT 2012


On 07/25/2012 11:38 AM, Soho Soho123 wrote:
> Dears,
>
> Does anyone know how to assign name in gstreamer ?
> for example:
> when in playing state, I would like see the  "playbin"  thread by ps command.
> Is there any method to do that?
>
GStreamer is already setting the pad-names that start the thread as a
thread name. This only works on linux as far as I know. Also the names
unfortunately get truncated. You could overwrite the name using prctrl()
in stream-status message if you want.

Stefan


More information about the gstreamer-devel mailing list