Commit b3e2009b authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winegstreamer: Consistently use GST_STATE_PAUSED for test-play.

It does not matter whether we use PAUSED or PLAYING, but we should at least be consistent. Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent ef79e902
......@@ -1875,7 +1875,7 @@ static BOOL decodebin_parser_init_gst(struct parser *filter)
return FALSE;
}
gst_element_set_state(filter->container, GST_STATE_PLAYING);
gst_element_set_state(filter->container, GST_STATE_PAUSED);
ret = gst_element_get_state(filter->container, NULL, NULL, -1);
if (ret == GST_STATE_CHANGE_FAILURE)
{
......@@ -2776,7 +2776,7 @@ static BOOL avi_splitter_init_gst(struct parser *filter)
return FALSE;
}
gst_element_set_state(filter->container, GST_STATE_PLAYING);
gst_element_set_state(filter->container, GST_STATE_PAUSED);
ret = gst_element_get_state(filter->container, NULL, NULL, -1);
if (ret == GST_STATE_CHANGE_FAILURE)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment