ext/raw1394/gstdv1394src.c: Reset negotiated state on PAUSED->READY.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_change_state):
Reset negotiated state on PAUSED->READY.
This commit is contained in:
Ronald S. Bultje 2005-02-02 16:59:24 +00:00
parent 38253a1bc8
commit 4bcb2bcb29
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-02-02 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_change_state):
Reset negotiated state on PAUSED->READY.
2005-02-02 David Schleef <ds@schleef.org> 2005-02-02 David Schleef <ds@schleef.org>
* configure.ac: Put DEFAULT_AUDIOSINK in config.h and use * configure.ac: Put DEFAULT_AUDIOSINK in config.h and use

View file

@ -620,6 +620,9 @@ gst_dv1394src_change_state (GstElement * element)
} }
} }
break; break;
case GST_STATE_PAUSED_TO_READY:
dv1394src->negotiated = FALSE;
break;
case GST_STATE_READY_TO_NULL: case GST_STATE_READY_TO_NULL:
if (dv1394src->use_avc) { if (dv1394src->use_avc) {
/* stop the VCR */ /* stop the VCR */