mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
fix wrong unref in a test
Original commit message from CVS: fix wrong unref in a test
This commit is contained in:
parent
f09d105f14
commit
6044583d32
4 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* check/pipelines/simple_launch_lines.c: (run_pipeline):
|
||||
fix wrong pop/unref
|
||||
|
||||
2005-09-19 Torsten Schoenfeld <kaffeetisch at gmx dot net>
|
||||
|
||||
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
|
|
@ -66,7 +66,7 @@ run_pipeline (GstElement * pipe, const gchar * descr,
|
|||
/* always have to pop the message before getting back into poll */
|
||||
if (message) {
|
||||
revent = GST_MESSAGE_TYPE (message);
|
||||
gst_message_unref (gst_bus_pop (bus));
|
||||
gst_message_unref (message);
|
||||
} else {
|
||||
revent = GST_MESSAGE_UNKNOWN;
|
||||
}
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 13022c3cb4558d201e2ddf3e65d2e36b16eedc4a
|
||||
Subproject commit cd4da6a319d9f92d28f7b8a3b412577e6de50b64
|
|
@ -66,7 +66,7 @@ run_pipeline (GstElement * pipe, const gchar * descr,
|
|||
/* always have to pop the message before getting back into poll */
|
||||
if (message) {
|
||||
revent = GST_MESSAGE_TYPE (message);
|
||||
gst_message_unref (gst_bus_pop (bus));
|
||||
gst_message_unref (message);
|
||||
} else {
|
||||
revent = GST_MESSAGE_UNKNOWN;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue