housekeeping

Andy Robinson andy at seventhstring.com
Fri Aug 6 08:53:35 UTC 2021


On 06/08/2021 00:37, James via gstreamer-devel wrote:
> A typical tutorial ends
> 
> |/* Release the request pads from the Tee, and unref them */ 
> gst_element_release_request_pad (tee, tee_audio_pad); 
> gst_element_release_request_pad (tee, tee_video_pad); gst_object_unref 
> (tee_audio_pad); gst_object_unref (tee_video_pad); /* Free resources */ 
> if (msg != NULL) gst_message_unref (msg); gst_object_unref (bus); 
> gst_element_set_state (pipeline, GST_STATE_NULL); gst_object_unref 
> (pipeline); return 0; }|
> 
> 
> But in unix a process's resources are released when the program terminates.
> What is happening here ?
> a) we aren't looking for gstreamer bugs
> b) we are not talking about 'part of a larger program'
> 
> James

The tutorial is not part of a larger program but it is showing you how 
to write code which probably will be part of a larger program.

Regards,
Andy Robinson


More information about the gstreamer-devel mailing list