diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-04 10:27:03 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-04 11:12:13 +0100 |
commit | fd72ef34f6282df4d8059038bbab8fea60c23c76 (patch) | |
tree | 23fb8cc0040747a67f7539216df3256e8e77a0a2 /gst | |
parent | a79c4e031406fc7659d31e5b39f655bf165d7d0c (diff) | |
download | gst-plugins-bad-fd72ef34f6282df4d8059038bbab8fea60c23c76.tar.gz gst-plugins-bad-fd72ef34f6282df4d8059038bbab8fea60c23c76.tar.bz2 gst-plugins-bad-fd72ef34f6282df4d8059038bbab8fea60c23c76.zip |
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.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mxf/mxfdemux.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |