Mercurial > pidgin.yaz
comparison gtk/gtksound.c @ 14879:1fa8599e952b
[gaim-migrate @ 17648]
After seeing Ka-Hing's patch I figured I'd grep around for the same
mistake in other places. I found one in our gstreamer error handling
code.
Luke (or anyone), are you still having gstreamer problems? If so, can
you see if this is less crashy?
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 01 Nov 2006 07:32:41 +0000 |
parents | 7fb8a8583c73 |
children | fdbf71ae8775 |
comparison
equal
deleted
inserted
replaced
14878:14b132352449 | 14879:1fa8599e952b |
---|---|
359 bus_call (GstBus *bus, | 359 bus_call (GstBus *bus, |
360 GstMessage *msg, | 360 GstMessage *msg, |
361 gpointer data) | 361 gpointer data) |
362 { | 362 { |
363 GstElement *play = data; | 363 GstElement *play = data; |
364 GError *err; | 364 GError *err = NULL; |
365 | 365 |
366 switch (GST_MESSAGE_TYPE (msg)) { | 366 switch (GST_MESSAGE_TYPE (msg)) { |
367 case GST_MESSAGE_EOS: | 367 case GST_MESSAGE_EOS: |
368 gst_element_set_state(play, GST_STATE_NULL); | 368 gst_element_set_state(play, GST_STATE_NULL); |
369 gst_object_unref(GST_OBJECT(play)); | 369 gst_object_unref(GST_OBJECT(play)); |