mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
ea0d6ebf36
Original commit message from CVS: * sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_clear), (gst_ximagesink_change_state), (gst_ximagesink_reset), (gst_ximagesink_finalize): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state), (gst_xvimagesink_reset), (gst_xvimagesink_finalize): Move some cleanup stuff from the state change handler into a _reset() function that can be called from _finalize(). This ensures that things get freed even if (for some reason) the NULL->READY state transition fails in the parent class. Even if a parent state change fails, process our downward state change logic instead of bailing out early. Free the correct xcontext pointer in ximagesink's xcontext_clear. |
||
---|---|---|
.. | ||
v4l | ||
ximage | ||
xvimage | ||
Makefile.am |