mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
dvbsrc: avoid possible race on _output_frontend_stats()
Make sure we send out our info message before we give up ownership of the structure.
This commit is contained in:
parent
05ebd33887
commit
8c03f448c3
1 changed files with 1 additions and 1 deletions
|
@ -2105,9 +2105,9 @@ gst_dvbsrc_output_frontend_stats (GstDvbSrc * src)
|
||||||
"There were errors getting frontend status information: '%s'",
|
"There were errors getting frontend status information: '%s'",
|
||||||
g_strerror (errno));
|
g_strerror (errno));
|
||||||
|
|
||||||
|
GST_INFO_OBJECT (src, "Frontend stats: %" GST_PTR_FORMAT, structure);
|
||||||
message = gst_message_new_element (GST_OBJECT (src), structure);
|
message = gst_message_new_element (GST_OBJECT (src), structure);
|
||||||
gst_element_post_message (GST_ELEMENT (src), message);
|
gst_element_post_message (GST_ELEMENT (src), message);
|
||||||
GST_INFO_OBJECT (src, "Frontend stats: %" GST_PTR_FORMAT, structure);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct diseqc_cmd
|
struct diseqc_cmd
|
||||||
|
|
Loading…
Reference in a new issue