From: Tim-Philipp Müller Date: Fri, 20 Apr 2007 17:25:50 +0000 (+0000) Subject: gst/debug/progressreport.c: Don't try to post NULL message (in case we can't query... X-Git-Tag: 1.19.3~509^2~12015 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=106db1b2eb7172c564151b3254c742f16676d95c;p=platform%2Fupstream%2Fgstreamer.git gst/debug/progressreport.c: Don't try to post NULL message (in case we can't query upstream position or duration). Original commit message from CVS: * gst/debug/progressreport.c: (gst_progress_report_report): Don't try to post NULL message (in case we can't query upstream position or duration). --- diff --git a/ChangeLog b/ChangeLog index 8b41214..9b1e375 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-04-20 Tim-Philipp Müller + + * gst/debug/progressreport.c: (gst_progress_report_report): + Don't try to post NULL message (in case we can't query upstream + position or duration). + 2007-04-18 Michael Smith * gst/cutter/gstcutter.c: (gst_cutter_init), (gst_cutter_chain), diff --git a/common b/common index dae6fa1..765d03a 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit dae6fa1f592c9231820c2135b8b1b3c2b0875ef6 +Subproject commit 765d03a88492fb4ac81d70457f671f3a109e93de diff --git a/gst/debug/progressreport.c b/gst/debug/progressreport.c index 2650a23..f36b12c 100644 --- a/gst/debug/progressreport.c +++ b/gst/debug/progressreport.c @@ -358,7 +358,9 @@ gst_progress_report_report (GstProgressReport * filter, GTimeVal cur_time) filter->pending_msg = NULL; GST_OBJECT_UNLOCK (filter); - gst_element_post_message (GST_ELEMENT_CAST (filter), msg); + if (msg) { + gst_element_post_message (GST_ELEMENT_CAST (filter), msg); + } } static gboolean