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.
This commit is contained in:
Sebastian Dröge 2009-02-04 10:27:03 +01:00
parent a79c4e0314
commit fd72ef34f6

View file

@ -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;
}