mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
Fix build on Mac OS X 10.5
Original commit message from CVS: 2007-11-20 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/tag/gsttagmux.c: (gst_tag_lib_mux_render_tag), (gst_tag_lib_mux_adjust_event_offsets): * gst/qtdemux/qtdemux.c: (qtdemux_parse_theora_extension): * sys/osxaudio/Makefile.am: * sys/osxvideo/cocoawindow.h: * sys/osxvideo/cocoawindow.m: Fix build on Mac OS X 10.5
This commit is contained in:
parent
dcfd4027a4
commit
992cf09a5a
1 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ gst_tag_lib_mux_render_tag (GstTagLibMux * mux)
|
||||||
goto render_error;
|
goto render_error;
|
||||||
|
|
||||||
mux->tag_size = GST_BUFFER_SIZE (buffer);
|
mux->tag_size = GST_BUFFER_SIZE (buffer);
|
||||||
GST_LOG_OBJECT (mux, "tag size = %d bytes", mux->tag_size);
|
GST_LOG_OBJECT (mux, "tag size = %" G_GSIZE_FORMAT " bytes", mux->tag_size);
|
||||||
|
|
||||||
/* Send newsegment event from byte position 0, so the tag really gets
|
/* Send newsegment event from byte position 0, so the tag really gets
|
||||||
* written to the start of the file, independent of the upstream segment */
|
* written to the start of the file, independent of the upstream segment */
|
||||||
|
@ -218,7 +218,7 @@ gst_tag_lib_mux_adjust_event_offsets (GstTagLibMux * mux,
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (mux, "adjusting newsegment event offsets to start=%"
|
GST_DEBUG_OBJECT (mux, "adjusting newsegment event offsets to start=%"
|
||||||
G_GINT64_FORMAT ", stop=%" G_GINT64_FORMAT ", cur=%" G_GINT64_FORMAT
|
G_GINT64_FORMAT ", stop=%" G_GINT64_FORMAT ", cur=%" G_GINT64_FORMAT
|
||||||
" (delta = +%u)", start, stop, cur, mux->tag_size);
|
" (delta = +%" G_GSIZE_FORMAT ")", start, stop, cur, mux->tag_size);
|
||||||
|
|
||||||
return gst_event_new_new_segment (TRUE, 1.0, format, start, stop, cur);
|
return gst_event_new_new_segment (TRUE, 1.0, format, start, stop, cur);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue