summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/jpeg/gstjpegdec.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 33757793..9242ad0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-05-28 Edward Hervey <edward@fluendo.com>
+ * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_change_state):
+ Initialize segment to GST_FORMAT_UNDEFINED in READY->PAUSED.
+
+2006-05-28 Edward Hervey <edward@fluendo.com>
+
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_finalize),
(gst_jpeg_dec_init), (gst_jpeg_dec_chain),
(gst_jpeg_dec_sink_event), (gst_jpeg_dec_change_state):
diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c
index 1713b06f..c22c4cd6 100644
--- a/ext/jpeg/gstjpegdec.c
+++ b/ext/jpeg/gstjpegdec.c
@@ -1062,7 +1062,7 @@ gst_jpeg_dec_change_state (GstElement * element, GstStateChange transition)
dec->caps_height = -1;
dec->packetized = FALSE;
dec->next_ts = 0;
- gst_segment_init (dec->segment, GST_FORMAT_TIME);
+ gst_segment_init (dec->segment, GST_FORMAT_UNDEFINED);
default:
break;
}