ext/jpeg/gstjpegenc.c: fix DURATION on outgoing buffers
authorThomas Vander Stichele <thomas@apestaart.org>
Wed, 5 May 2004 11:29:48 +0000 (11:29 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Wed, 5 May 2004 11:29:48 +0000 (11:29 +0000)
Original commit message from CVS:
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type),
(gst_jpegenc_chain):
fix DURATION on outgoing buffers
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_sink_event):
debug using time formats
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_sink_link):
windows with width/height 0 generate X errors, so don't allow them

ChangeLog
gst/asfdemux/gstasfdemux.c

index e52320285caac50b6e4d03bbc5dd86b1d6217b84..5c2604849b1a1bb528a6cc03c17cecbf64fec30b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2004-05-05  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type),
+       (gst_jpegenc_chain):
+        fix DURATION on outgoing buffers
+       * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_sink_event):
+        debug using time formats
+       * sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
+       * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
+       (gst_xvimagesink_sink_link):
+        windows with width/height 0 generate X errors, so don't allow them
+
 2004-05-05  Wim Taymans  <wim@fluendo.com>
 
        * ext/mpeg2dec/gstmpeg2dec.c: (src_templ),
index 1292207d157beea00eebfb49dd45c88824ca7e7b..a9f160fc35eeaad672d3ed3654de943afcc39c68 100644 (file)
@@ -522,7 +522,7 @@ gst_asf_demux_process_comment (GstASFDemux * asf_demux, guint64 * obj_size)
   gchar *utf8_comments[5] = { NULL, NULL, NULL, NULL, NULL };
   guchar *data;
   const gchar *tags[5] = { GST_TAG_TITLE, GST_TAG_ARTIST, GST_TAG_COPYRIGHT,
-    GST_TAG_COMMENT, NULL /* ? */
+    GST_TAG_COMMENT, NULL       /* ? */
   };
   guint16 *lengths = (guint16 *) & object;
   gint i;
@@ -1230,9 +1230,11 @@ gst_asf_demux_handle_sink_event (GstASFDemux * asf_demux,
         asf_stream_context *stream = &asf_demux->stream[i];
 
         if (GST_PAD_IS_USABLE (stream->pad)) {
-          GST_DEBUG ("sending discont on %d %" G_GINT64_FORMAT " + %"
-              G_GINT64_FORMAT " = %" G_GINT64_FORMAT, i, asf_demux->last_seek,
-              stream->delay, asf_demux->last_seek + stream->delay);
+          GST_DEBUG ("sending discont on stream %d with %" GST_TIME_FORMAT
+              " + %" GST_TIME_FORMAT " = %" GST_TIME_FORMAT,
+              i, GST_TIME_ARGS (asf_demux->last_seek),
+              GST_TIME_ARGS (stream->delay),
+              GST_TIME_ARGS (asf_demux->last_seek + stream->delay));
           discont =
               gst_event_new_discontinuous (FALSE, GST_FORMAT_TIME,
               asf_demux->last_seek + stream->delay, NULL);