From fd72ef34f6282df4d8059038bbab8fea60c23c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 4 Feb 2009 10:27:03 +0100 Subject: Always set the current package, not only when it was changed This is necessary as the current package link will be set to NULL when updated metadata is parsed and should be set here again. --- gst/mxf/mxfdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst') diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index 3d0f280c..293f2249 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -652,10 +652,10 @@ done: memcpy (&demux->current_package_uid, &ret->package_uid, 32); mxf_umid_to_string (&ret->package_uid, current_package_string); - demux->current_package = ret; demux->current_package_string = g_strdup (current_package_string); g_object_notify (G_OBJECT (demux), "package"); } + demux->current_package = ret; return ret; } -- cgit v1.2.1