gst/iec958/ac3iec.c: Fix tests.

Original commit message from CVS:
* gst/iec958/ac3iec.c:
Fix tests.
This commit is contained in:
Stefan Kost 2007-08-16 07:17:13 +00:00
parent 8c6366e3c3
commit 681dbdf9a3
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-08-16 Stefan Kost <ensonic@users.sf.net>
* gst/iec958/ac3iec.c:
Fix tests.
2007-08-16 Stefan Kost <ensonic@users.sf.net> 2007-08-16 Stefan Kost <ensonic@users.sf.net>
* tests/check/Makefile.am: * tests/check/Makefile.am:

View file

@ -434,8 +434,10 @@ ac3iec_change_state (GstElement * element, GstStateChange transition)
break; break;
case GST_STATE_CHANGE_PAUSED_TO_READY: case GST_STATE_CHANGE_PAUSED_TO_READY:
ac3p_clear (ac3iec->padder); ac3p_clear (ac3iec->padder);
if (ac3iec->caps) {
gst_caps_unref (ac3iec->caps); gst_caps_unref (ac3iec->caps);
ac3iec->caps = NULL; ac3iec->caps = NULL;
}
break; break;
case GST_STATE_CHANGE_READY_TO_NULL: case GST_STATE_CHANGE_READY_TO_NULL:
break; break;