tests: fix multisocketsink unit test

Activate pad properly before using it.
This commit is contained in:
Tim-Philipp Müller 2012-02-25 00:49:27 +00:00
parent 5dbb27fb50
commit 8f6d23d6ed

View file

@ -46,7 +46,7 @@ setup_multisocketsink (void)
GST_DEBUG ("setup_multisocketsink");
multisocketsink = gst_check_setup_element ("multisocketsink");
mysrcpad = gst_check_setup_src_pad (multisocketsink, &srctemplate);
GST_PAD_UNSET_FLUSHING (mysrcpad);
gst_pad_set_active (mysrcpad, TRUE);
return multisocketsink;
}