mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
On Ready to Paused the internal state was set to not setup. Fix
Original commit message from CVS: On Ready to Paused the internal state was set to not setup. Fix
This commit is contained in:
parent
df78fdf8af
commit
48eeb2ddd7
1 changed files with 3 additions and 2 deletions
|
@ -133,8 +133,8 @@ gst_wavenc_change_state (GstElement *element)
|
||||||
|
|
||||||
switch (GST_STATE_TRANSITION (element)) {
|
switch (GST_STATE_TRANSITION (element)) {
|
||||||
case GST_STATE_NULL_TO_READY:
|
case GST_STATE_NULL_TO_READY:
|
||||||
case GST_STATE_READY_TO_PAUSED:
|
case GST_STATE_PAUSED_TO_READY:
|
||||||
wavenc->setup = FALSE;
|
wavenc->setup = FALSE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -203,6 +203,7 @@ gst_wavenc_setup (GstWavEnc *wavenc)
|
||||||
wavenc->setup = TRUE;
|
wavenc->setup = TRUE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstPadConnectReturn
|
static GstPadConnectReturn
|
||||||
gst_wavenc_sinkconnect (GstPad *pad,
|
gst_wavenc_sinkconnect (GstPad *pad,
|
||||||
GstCaps *caps)
|
GstCaps *caps)
|
||||||
|
|
Loading…
Reference in a new issue