ChangeLog 1.05 MB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
2006-11-26  Wim Taymans  <wim@fluendo.com>

	* ext/theora/theoradec.c: (gst_theora_dec_reset),
	(theora_dec_push_forward), (theora_dec_push_reverse),
	(theora_handle_data_packet), (theora_dec_decode_buffer),
	(theora_dec_flush_decode), (theora_dec_chain_reverse),
	(theora_dec_chain_forward), (theora_dec_chain):
	Implement reverse playback.

	* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
	(vorbis_dec_decode_buffer), (vorbis_dec_flush_decode),
	(vorbis_dec_chain_forward):
	Clear buffers used for reverse playback in _reset.
	No need to set the eos flag, we clip samples using the segment.

16 17 18 19 20 21 22 23 24
2006-11-24  Wim Taymans  <wim@fluendo.com>

	* ext/ogg/gstoggdemux.c: (gst_ogg_page_copy), (gst_ogg_page_free),
	(gst_ogg_pad_init), (gst_ogg_pad_dispose), (gst_ogg_pad_reset),
	(gst_ogg_pad_stream_out), (gst_ogg_pad_submit_page),
	(gst_ogg_chain_reset), (gst_ogg_demux_perform_seek):
	Some cleanups.
	Handle continued pages in reverse mode.

25 26 27 28 29 30 31 32 33
2006-11-24  Wim Taymans  <wim@fluendo.com>

	* ext/vorbis/vorbisdec.c: (vorbis_dec_push_forward),
	(vorbis_handle_data_packet), (vorbis_dec_decode_buffer),
	(vorbis_dec_flush_decode):
	Small cleanups.
	Don't try to add invalid timestamps.
	Clipping will unref the buffer.

34 35 36 37 38 39
2006-11-24  Stefan Kost  <ensonic@users.sf.net>

	* gst/adder/gstadder.h:
	* gst/audiotestsrc/gstaudiotestsrc.h:
	  remove obsolete _factory_init protos

40 41 42 43 44
2006-11-24  Stefan Kost  <ensonic@users.sf.net>

	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_buffer_alloc):
	  Fix spacing in debug message.

45 46 47 48 49 50 51
2006-11-23  Wim Taymans  <wim@fluendo.com>

	* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page),
	(gst_ogg_demux_chain):
	Don't just ignore return values from _pad_push().
	Small debug improvements.

52 53 54 55 56 57 58
2006-11-23  Michael Smith  <msmith@fluendo.com>

	* ext/ogg/gstoggmux.c: (gst_ogg_mux_process_best_pad):
	  If our incoming buffer is marked as DISCONT, then increment the page
	  number (so that the discontinuity is marked in the final ogg
	  bitstream) and flush the previous page.

59 60 61 62 63 64 65 66 67 68 69 70 71
2006-11-22  Michael Smith  <msmith@fluendo.com>

	* ext/theora/gsttheoraenc.h:
	* ext/theora/theoraenc.c: (gst_theora_enc_init),
	(theora_enc_reset), (theora_enc_clear), (theora_enc_sink_setcaps),
	(theora_buffer_from_packet), (theora_enc_is_discontinuous),
	(theora_enc_chain), (theora_enc_change_state):
	  Mark discontinuities of > 3/4 of a frame, reinit encoder.

	* tests/check/pipelines/theoraenc.c: (check_buffer_granulepos),
	(GST_START_TEST), (theoraenc_suite):
	  Enable discontinuity test, fix it.

72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
2006-11-21  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
	(gst_text_overlay_text_pad_unlink), (gst_text_overlay_text_event),
	(gst_text_overlay_video_event), (gst_text_overlay_pop_text),
	(gst_text_overlay_text_chain), (gst_text_overlay_video_chain),
	(gst_text_overlay_change_state):
	* ext/pango/gsttextoverlay.h:
	  Some textoverlay fixes: for one, in the video chain function,
	  actually wait for a text buffer to come in if there is none at the
	  moment and there should be one; also, deal more gracefully with
	  incoming buffers that do not have a timestamp or duration; discard
	  text buffer when not needed any longer. Fixes #341681.

	* tests/check/Makefile.am:
	* tests/check/elements/.cvsignore:
	* tests/check/elements/textoverlay.c:
	(notgst_check_setup_src_pad2), (notgst_check_teardown_src_pad2),
	(setup_textoverlay), (buffer_is_all_black), (create_black_buffer),
	(create_text_buffer), (cleanup_textoverlay), (GST_START_TEST),
	(test_video_waits_for_text_send_text_newsegment_thread),
	(test_video_waits_for_text_shutdown_element),
	(test_render_continuity_push_video_buffers_thread),
	(textoverlay_suite):
	  Add some unit tests for textoverlay.

98 99 100 101 102 103 104
2006-11-21  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
	  Avoid integer underflow when the found probability for mp3 is
	  smaller than the 'penalty' we subtract if there's not a clean
	  mp3 header sync at offset 0.

105 106 107 108 109
2006-11-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/libs/gst-plugins-base-libs-sections.txt:
	  Add some new symbols to the docs

110 111 112 113 114 115 116 117
2006-11-20  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/Makefile.am:
	* tests/check/elements/ffmpegcolorspace.c:
	(ffmpegcolorspace_suite):
	  Enable ffmpegcolorspace test now that the RGBA32 issue is fixed
	  (for now not for valgrinding though, since it takes too long).

118 119 120 121 122 123
2006-11-20  Wim Taymans  <wim@fluendo.com>

	* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
	(gst_ffmpeg_pixfmt_to_caps):
	Fix RGBA32 caps. Fixes #357038.

124 125 126 127 128
2006-11-20  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/interfaces/mixertrack.h:
	  Add FIXME so we can add some padding here in 0.11

129 130 131 132 133 134 135
2006-11-19  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/rtp/gstbasertpaudiopayload.h:
	  Fix GstBaseRTPAudioPayload structure so the whole GObject
	  inheritance business actually works (parent class instance structure
	  must always come first in the derived class instance structure).

136 137 138 139 140 141 142 143 144 145 146 147 148 149
2006-11-16  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/videotestsrc/Makefile.am:
	* tests/check/Makefile.am:
	  Make sure our checks and the videotestsrc plugin link against the
	  local uninstalled gst libs and not any installed gst libs that
	  might happen to exist as well.

	* tests/check/elements/adder.c: (message_received),
	(test_event_message_received), (test_play_twice_message_received):
	* tests/check/elements/ffmpegcolorspace.c: (GST_START_TEST):
	  Fix compiler warnings when compiling against core with disabled
	  debugging system.

150 151 152 153 154 155 156 157 158 159 160
2006-11-16  Michael Smith  <msmith@fluendo.com>

	* gst/audiorate/gstaudiorate.c: (gst_audio_rate_reset),
	(gst_audio_rate_sink_event), (gst_audio_rate_chain):
	  Fix audiorate, so that it accurately sets offsets and timestamps.
	  Doesn't change the fundamental algorithmic decisions; so should be
	  safe.

	* tests/check/Makefile.am:
	  Enable audiorate test now that it passes.

161 162 163 164 165 166 167 168
2006-11-09  Stefan Kost  <ensonic@users.sf.net>

	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state):
	  clear xv when going to NULL, remove // commented non-existant proto

	* tests/examples/seek/seek.c: (main):
	  add missing tooltip description for scrub and play_scrub

169 170 171 172 173 174 175 176 177 178 179 180 181
2006-11-14  David Schleef  <ds@schleef.org>

	* configure.ac:
	  Bump liboil requirement to 0.3.8.
	* gst-libs/gst/riff/riff-media.c:
	  Add Dirac fourcc.
	* gst/videoscale/vs_image.h:
	* gst/videoscale/vs_scanline.h:
	  Use liboil's stdint.h.
	* gst/videotestsrc/videotestsrc.c:
	  Remove liboil related ifdef's, since they aren't needed now, and
	  won't work with future versions.

182 183 184 185 186 187 188 189 190 191 192 193 194 195
2006-11-14  David Schleef  <ds@schleef.org>

	* gst/videoscale/Makefile.am:
	* gst/videoscale/gstvideoscale.c:
	* gst/videoscale/gstvideoscale.h:
	* gst/videoscale/vs_4tap.c:
	* gst/videoscale/vs_4tap.h:
	* gst/videoscale/vs_image.c:
	* gst/videoscale/vs_image.h:
	* gst/videoscale/vs_scanline.c:
	* gst/videoscale/vs_scanline.h:
	  Add a 4-tap image scaler.  Theoretically looks much prettier.
	  The tap calculation could use some improvement.

196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
2006-11-14  Wim Taymans  <wim@fluendo.com>

	Patch by: Jan David Mol <j dot j dot d dot mol at tudelft dot nl>

	* gst-libs/gst/riff/riff-read.c: (gst_riff_parse_strf_auds),
	(gst_riff_parse_strf_iavs):
	* gst/subparse/gstsubparse.c: (convert_encoding):
	* gst/tcp/gstmultifdsink.c:
	(gst_multi_fd_sink_handle_client_write):
	* gst/tcp/gsttcp.c: (gst_tcp_socket_write), (gst_tcp_socket_read),
	(gst_tcp_read_buffer), (gst_tcp_gdp_read_caps),
	(gst_tcp_gdp_write_buffer), (gst_tcp_gdp_write_caps):
	* gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_render):
	* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
	(gst_ximagesink_ximage_new):
	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new):
	Various gsize and gssize printf fixes. Fixes #372507.

214 215 216 217 218 219 220 221 222 223
2006-11-13  Wim Taymans  <wim@fluendo.com>

	* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
	(vorbis_dec_push_forward), (vorbis_dec_push_reverse),
	(vorbis_handle_data_packet), (vorbis_dec_decode_buffer),
	(vorbis_dec_flush_decode), (vorbis_dec_chain_reverse),
	(vorbis_dec_chain_forward), (vorbis_dec_chain):
	* ext/vorbis/vorbisdec.h:
	First stab at vorbis reverse playback.

224 225 226 227 228 229 230 231 232 233 234 235 236
2006-11-13  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_event), (gst_base_audio_sink_render):
	* gst-libs/gst/audio/gstbaseaudiosink.h:
	Make the clock sync code more accurate wrt resampling and playback
	at different rates.
	
	* gst-libs/gst/audio/gstringbuffer.c:
	(gst_ring_buffer_commit_full), (gst_ring_buffer_commit):
	* gst-libs/gst/audio/gstringbuffer.h:
	Use better algorithm to interpolate sample rates. 

237 238 239 240 241 242 243 244 245 246
2006-11-13  Michael Smith  <msmith@fluendo.com>

	* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page):
	  Improve a debug line slightly.

	* ext/ogg/gstogmparse.c: (gst_ogm_parse_plugin_init):
	  Call gst_riff_init() in plugin_init, to avoid getting errors from
	  the debug system (unrelated changes to another plugin made this turn
	  up; not sure why).

247 248 249 250 251 252 253
2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Sergey Scobich  <sergery.scobich at gmail com>

	* win32/common/libgsttag.def:
	  Add missing symbol (#366492).

254 255 256 257 258 259
2006-11-09  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gststreamselector.c: (gst_stream_selector_dispose):
	  Don't unref a NULL pad.

2006-11-09  Wim Taymans  <wim@fluendo.com>
260 261 262 263 264 265 266 267

	* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page),
	(gst_ogg_demux_get_prev_page), (gst_ogg_demux_perform_seek),
	(gst_ogg_demux_handle_page), (gst_ogg_demux_chain),
	(gst_ogg_demux_loop_forward), (gst_ogg_demux_loop_reverse),
	(gst_ogg_demux_loop):
	Implement first stab at reverse playback.

268 269 270 271 272 273
2006-11-07  Stefan Kost  <ensonic@users.sf.net>

	* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
	(gst_riff_create_video_template_caps):
	  add h263/h264 variants to the caps, Fixes #363118

274 275 276 277 278 279
2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func):
	* gst-libs/gst/audio/gstaudiosrc.c: (audioringbuffer_thread_func):
	  Use g_strerror instead of strerror so we get UTF-8.

280 281 282 283 284 285
2006-11-03  David Schleef  <ds@schleef.org>

	* ext/ogg/gstoggdemux.c:
	* ext/ogg/gstoggmux.c:
	  Add/remove KW-DIRAC header here, since it is ogg-specific.

286 287 288 289 290
2006-11-03  Michael Smith  <msmith@fluendo.com>

	* gst/typefind/gsttypefindfunctions.c: (mpeg4_video_type_find):
	  Recognise more mpeg4 elementary video streams.

291 292 293 294 295 296 297
2006-11-02  Edward Hervey  <edward@fluendo.com>

	* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
	Lower the probability of mp3 typefinding functions if we don't find a
	valid mp3 header at the start of the file.
	Closes #369482

298 299 300 301 302 303 304 305 306 307
2006-11-02  Wim Taymans  <wim@fluendo.com>

	* ext/theora/gsttheoradec.h:
	* ext/theora/theoradec.c: (gst_theora_dec_init),
	(theora_dec_sink_event), (theora_dec_chain_forward),
	(theora_dec_flush_decode), (theora_dec_chain_reverse),
	(theora_dec_chain):
	Document and partially implement an algorithm for doing reverse playback
	of theora video.

308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Sergey Scobich  <sergey.scobich at gmail com>

	* win32/common/config.h:
	* win32/common/interfaces-enumtypes.c:
	* win32/common/libgsttag.def:
	* win32/vs8/gst-plugins-base.sln:
	* win32/vs8/libgstaudioresample.vcproj:
	* win32/vs8/libgstinterfaces.vcproj:
	* win32/vs8/libgstogg.vcproj:
	* win32/vs8/libgstriff.vcproj:
	* win32/vs8/libgsttag.vcproj:
	* win32/vs8/libgsttheora.vcproj:
	* win32/vs8/libgstvideoscale.vcproj:
	* win32/vs8/libgstvorbis.vcproj:
	  Misc. VS8 build fixes: fix syntax in config.h, add missing entries
	  to libgsttag.def; add missing dependencies for some vs8 projects;
	  re-arrange placement of .def files in vs8 projects (#366334).

328 329 330 331 332 333 334 335
2006-11-01  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/ogg/gstogg.c:
	  Remove unused variable.

	* ext/ogg/gstoggdemux.c:
	  Fix Wim's surname in plugin description.

336 337 338 339 340
2006-10-31  Wim Taymans  <wim@fluendo.com>

	* gst-plugins-base.spec.in:
	spec new .h file. Fixes #368310.

341 342 343 344 345 346 347 348 349 350 351 352 353
2006-10-31  Michael Smith  <msmith@fluendo.com>

	* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_add_full),
	(gst_multi_fd_sink_remove), (gst_multi_fd_sink_clear),
	(gst_multi_fd_sink_get_stats),
	(gst_multi_fd_sink_remove_client_link),
	(gst_multi_fd_sink_queue_buffer),
	(gst_multi_fd_sink_handle_clients):
	* gst/tcp/gstmultifdsink.h:
	  Make using the remove or clear signals threadsafe.
	  Make calling get-stats with an invalid fd not segfault.
	  Fixes 368273.

354 355 356 357 358 359 360
2006-10-31  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/rtp/Makefile.am:
	* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
	(gst_base_rtp_audio_payload_init):
	Fix and activate base audio payloader.

361 362 363 364 365 366
2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/typefind/gsttypefindfunctions.c: (qtif_type_find),
	(plugin_init):
	  Add typefinder for QuickTime Image Files (see #366156).

367 368 369 370 371
2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/audioresample/gstaudioresample.c: (gst_audioresample_init):
	  Another typo fix (#366212).

372 373 374 375 376 377
2006-10-27  Wim Taymans  <wim@fluendo.com>

	* gst/volume/gstvolume.c: (volume_transform_ip):
	Use stream time to synchronize volume property instead of rather random
	timestamps. This is needed when gnonlin does its time shifting.

378 379 380 381 382
2006-10-27  Wim Taymans  <wim@fluendo.com>

	Patch by: Mark Nauwelaerts <manauw at skynet dot be>

	* ext/ogg/gstoggmux.c: (gst_ogg_mux_release_pad):
Wim Taymans's avatar
Wim Taymans committed
383
	Remove the pad from the element in release_pad. Fixes #364812.
384

385 386 387 388 389 390 391 392
2006-10-27  Tim-Philipp Müller  <tim at centricular dot net>

	* sys/ximage/ximagesink.c: (gst_ximagesink_get_type):
	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_type):
	  Explicitly create our custom buffer classes at a thread-safe
	  location as well, since g_type_class_ref() doesn't seem to be
	  entirely thread-safe either (#365501; also see #349410).

393 394 395 396 397 398 399 400 401 402
2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/riff/riff-read.c: (freeform_string_to_utf8),
	(gst_riff_parse_info):
	  If strings in INFO chunk are not UTF-8, do something similar to
	  what we do for ID3v1 tags: check a number of environment variables
	  (GST_AVI_TAG_ENCODING, GST_RIFF_TAG_ENCODING, GST_TAG_ENCODING) for
	  character sets to try, otherwise try the current locale and/or fall
	  back on ISO-8859-1. Fixes #360552.

403 404 405 406 407 408 409 410 411 412 413 414
2006-10-23  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/videotestsrc/gstvideotestsrc.c:
	(gst_video_test_src_pattern_get_type),
	(gst_video_test_src_set_pattern):
	* gst/videotestsrc/gstvideotestsrc.h:
	* gst/videotestsrc/videotestsrc.c: (gst_video_test_src_checkers1),
	(gst_video_test_src_checkers2), (gst_video_test_src_checkers4),
	(gst_video_test_src_checkers8):
	* gst/videotestsrc/videotestsrc.h:
	  Add a bunch of exciting new checkers patterns.

415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431
2006-10-23  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/subparse/Makefile.am:
	* gst/subparse/gstsubparse.c:
	(gst_sub_parse_data_format_autodetect),
	(gst_sub_parse_format_autodetect), (handle_buffer),
	(gst_sub_parse_chain), (gst_subparse_type_find), (plugin_init):
	* gst/subparse/gstsubparse.h:
	* gst/subparse/tmplayerparse.c: (tmplayer_parse_line),
	(parse_tmplayer):
	* gst/subparse/tmplayerparse.h:
	  Add support for TMPlayer-type subtitles (#362845).

	* tests/check/elements/subparse.c: (test_tmplayer_do_test),
	(GST_START_TEST), (subparse_suite):
	  Add some basic unit tests for the above.

432 433 434 435 436 437 438 439 440
2006-10-23  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/elements/audiorate.c: (test_injector_base_init),
	(test_injector_class_init), (test_injector_chain),
	(test_injector_init), (probe_cb), (do_perfect_stream_test),
	(GST_START_TEST), (audiorate_suite):
	  More tests for audiorate: inject buffers to check behaviour when
	  buffers overlap.

441 442 443 444 445 446 447 448 449
2006-10-21  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/Makefile.am:
	* tests/check/elements/.cvsignore:
	* tests/check/elements/audiorate.c: (probe_cb), (got_buf),
	(do_perfect_stream_test), (GST_START_TEST), (audiorate_suite):
	  Add some basic unit tests for audiorate. Disabled at the moment
	  since it doesn't pass yet (see bug #363119).

450 451 452 453 454 455 456 457 458 459 460 461 462
2006-10-20  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/subparse/gstsubparse.c: (subrip_fix_up_markup),
	(parse_subrip), (handle_buffer):
	  Add missing closing tags for markup and fix broken markup,
	  otherwise pango won't render anything (fixes #357531). Also,
	  make sure the text we send out is always NUL-terminated
	  (better safe than sorry etc.).

	* tests/check/elements/subparse.c: (test_srt_do_test),
	(test_srt):
	  Some more tests for .srt incl. tests for the above stuff.

463 464 465 466 467 468 469 470
2006-10-20  Julien MOUTTE  <julien@moutte.net>

	* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put):
	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put):
	Patch by: Stefan Kost  <ensonic@users.sf.net>
	Try to redraw borders only when needed. Apparently this consumes
	resources on small devices... :-O (#363607)

471 472 473 474 475 476 477 478
2006-10-20  Michael Smith  <msmith@fluendo.com>

	* gst/tcp/gstmultifdsink.c:
	(gst_multi_fd_sink_client_queue_buffer):
	  If caps change, then update the client's idea of the caps so that we
	  don't end up re-sending streamheaders for every single buffer after
	  the caps change.

479 480 481 482 483 484
2006-10-20  Michael Smith  <msmith@fluendo.com>

	* ext/ogg/gstoggparse.c: (gst_ogg_parse_dispose),
	(gst_ogg_parse_append_header), (gst_ogg_parse_chain):
	  Set caps on pushed buffers; fix up refcounting of caps objects.

485 486 487 488 489 490
2006-10-19  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/typefind/gsttypefindfunctions.c: (mmsh_type_find),
	(plugin_init):
	  Typefind mmsh header data packet to application/x-mmsh (#362625).

491 492 493 494 495 496 497 498 499
2006-10-19  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/Makefile.am:
	* tests/check/elements/.cvsignore:
	* tests/check/elements/subparse.c: (buffer_from_static_string),
	(setup_subparse), (teardown_subparse), (test_srt_do_test),
	(GST_START_TEST), (subparse_suite):
	  Add very simple unit test for subparse.

500 501 502 503 504 505
2006-10-19  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/subparse/gstsubparse.c: (strip_trailing_newlines),
	(parse_subrip):
	  Strip trailing newlines from subtitle text output.

506 507 508 509 510 511
2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/subparse/gstsubparse.c: (gst_sub_parse_dispose),
	(gst_sub_parse_change_state):
	  Fix memleak; clear subparse->textbuf n state change function.

512 513 514 515 516 517
2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/subparse/gstsubparse.c:
	(gst_sub_parse_data_format_autodetect):
	  Don't require subrip (.srt) files to start with a chunk number of 1.

518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539
2006-10-18  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_event), (gst_base_audio_sink_render):
	* gst-libs/gst/audio/gstbaseaudiosink.h:
	Extract rate from the NEWSEGMENT event.
	Use commit_full to also take rate adjustment into account when writing
	samples to the ringbuffer.
	
	* gst-libs/gst/audio/gstringbuffer.c:
	(gst_ring_buffer_commit_full), (gst_ring_buffer_commit),
	(gst_ring_buffer_read):
	* gst-libs/gst/audio/gstringbuffer.h:
	Added _commit_full() to also take rate into account.
	Use simple interpolation algorithm to resample audio.
	API: gst_ring_buffer_commit_full()

	* tests/examples/seek/scrubby.c: (speed_cb), (do_seek):
	* tests/examples/seek/seek.c: (segment_done):
	Don't try to seek with 0.0 rate, just pause instead.
	Remove bogus debug line.

540 541 542 543 544 545 546 547 548 549 550
2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gstplaybasebin.c: (subbin_startup_sync_msg),
	(setup_source):
	  Catch async errors when starting up the subtitle bin, so we can
	  stop waiting and continue with the main film instead of hanging
	  forever. Fixes #339366.

	* tests/check/elements/playbin.c: (playbin_suite):
	  Enable unit test for the above.

551 552 553 554 555 556 557 558 559 560 561 562 563 564 565
2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/Makefile.am:
	* tests/check/elements/.cvsignore:
	* tests/check/elements/playbin.c: (GST_START_TEST),
	(gst_red_video_src_uri_get_type),
	(gst_red_video_src_uri_get_protocols),
	(gst_red_video_src_uri_get_uri), (gst_red_video_src_uri_set_uri),
	(gst_red_video_src_uri_handler_init),
	(gst_red_video_src_init_type), (gst_red_video_src_base_init),
	(gst_red_video_src_create), (gst_red_video_src_class_init),
	(gst_red_video_src_init), (plugin_init), (playbin_suite):
	  Some small and basic unit tests for playbin; not very useful yet,
	  but at least a start.

566 567 568 569 570
2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gstplaybin.c: (setup_sinks):
	  The old pad activation spiel.

571 572 573 574 575 576
2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gstplaybasebin.c: (setup_source):
	  Don't hang forever if the subbin already fails to start up in 
	  the state change to PAUSED (#339366).

577 578 579 580 581 582 583 584 585 586
2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/interfaces/tuner.c: (gst_tuner_list_channels),
	(gst_tuner_set_channel), (gst_tuner_get_channel),
	(gst_tuner_list_norms), (gst_tuner_set_norm), (gst_tuner_get_norm),
	(gst_tuner_set_frequency), (gst_tuner_get_frequency),
	(gst_tuner_signal_strength), (gst_tuner_find_norm_by_name),
	(gst_tuner_find_channel_by_name):
	  Fix some function guards, add some more function guards.

587 588 589 590 591 592 593 594
2006-10-17  Jan Schmidt  <thaytan@mad.scientist.com>

	* gst/playback/gstdecodebin.c: (get_our_ghost_pad),
	(remove_element_chain):
	Don't return a pad from get_our_ghost_pad unless it is actually the
	one we want.
	Change a cast in remove_element_chain slightly.

595 596 597 598 599 600
2006-10-13  Julien MOUTTE  <julien@moutte.net>

	* tests/examples/seek/seek.c: (do_seek), (start_seek),
	(rate_spinbutton_changed_cb), (segment_done), (msg_state_changed):
	Segment seeking needs to use the rate and set stop to -1.

601 602 603 604 605 606 607 608 609 610 611 612 613
2006-10-13  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_setcaps):
	Don't crash when ringbuffer is not yet created.
	Patch by: Ville Syrjala <ville dot syrjala at movial dot fi>
	Fixes #361634.

	* gst/playback/gstplaybasebin.c: (new_decoded_pad_full):
	* gst/playback/gststreamselector.c:
	(gst_stream_selector_request_new_pad):
	Activate pads befre adding them to running elements.

614 615 616 617 618 619 620
2006-10-13  Julien MOUTTE  <julien@moutte.net>

	* tests/examples/seek/seek.c: (do_seek), (start_seek),
	(rate_spinbutton_changed_cb), (msg_state_changed): Stop the scale
	updater when we start grabing the slider. Don't wait for the
	pipeline to be PAUSED.

621 622 623 624 625 626 627 628 629 630
2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/interfaces/mixer.c: (gst_mixer_list_tracks),
	(gst_mixer_set_volume), (gst_mixer_get_volume),
	(gst_mixer_set_mute), (gst_mixer_set_option),
	(gst_mixer_get_option), (gst_mixer_mute_toggled),
	(gst_mixer_record_toggled), (gst_mixer_volume_changed),
	(gst_mixer_option_changed):
	  Guard mixer interface functions against bogus arguments.

631 632 633 634 635 636 637 638 639 640
2006-10-12  Julien MOUTTE  <julien@moutte.net>

	* tests/examples/seek/seek.c: (do_seek), (start_seek), (stop_seek),
	(play_cb), (pause_cb), (stop_cb), (rate_spinbutton_changed_cb),
	(msg_state_changed), (main): Use state-changed messages to trigger
	start/stop of scale update timer. Indeed the scale slider was
	jumping here and there because the update timer was activated 
	before seek completed. This fixes instant applying of rate changes
	by pressing the spinbutton like a crazy man !

641 642 643 644 645 646 647 648
2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Sebastien Cote  <sebas642 at yahoo.ca>

	* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_init),
	(gst_basertppayload_finalize):
	  Fix two small memory leaks (#361456).

649 650 651 652 653 654
2006-10-10  Julien MOUTTE  <julien@moutte.net>

	* tests/examples/seek/seek.c: (do_seek),
	(rate_spinbutton_changed_cb): When changing spinbutton we try
	to change the rate on the fly.

655 656 657 658 659 660 661
2006-10-10  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/riff/riff-ids.h:
	* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
	(gst_riff_create_audio_template_caps):
	Add WMS caps.

662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705
2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

	Patch by: Josep Torre Valles <josep@fluendo.com>

	* ext/gnomevfs/gstgnomevfssink.c:
	* ext/gnomevfs/gstgnomevfssrc.c:
	Fix URI interface implementation return type.
	* ext/pango/gsttextoverlay.c: (gst_text_overlay_set_property):
	Fix what looks like a copy/paste issue when assigning values.
	* gst-libs/gst/audio/gstaudiofiltertemplate.c:
	(gst_audio_filter_template_get_type):
	Cast to prevent Forte warnings.
	* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
	Fix URI interface implementation return type.
	gst_pad_query_position requires a signed integer pointer as
	3rd parameter, GstClockTime is unsigned.
	* gst/audioconvert/audioconvert.c:
	Fix integer overflow when treated as signed.
	* gst/audioresample/resample.c: (resample_add_input_data):
	Cast to prevent warnings on Forte.
	* gst/ffmpegcolorspace/imgconvert.c: (build_rgb_palette):
	Fix integer overflow when treated as signed.
	* gst/ffmpegcolorspace/imgconvert_template.h:
	Fix integer overflow when treated as signed. RGBA_OUT shifts bits.
	* gst/playback/gstdecodebin.c: (queue_filled_cb),
	(cleanup_decodebin):
	Who initialises a guint to -1!
	Cast function pointers to prevent warnings on Forte.
	* gst/playback/gstplaybasebin.c: (queue_deadlock_check),
	(queue_threshold_reached):
	Cast function pointers correctly to prevent warnings on Forte.
	* gst/playback/gststreaminfo.c: (gst_stream_info_dispose):
	Cast function pointers correctly to prevent warnings on Forte.
	* gst/subparse/gstssaparse.c: (gst_ssa_parse_setcaps):
	Obvious change to unsigned, 0xEF > max signed char.
	* gst/tcp/gstmultifdsink.c: (get_buffers_max), (count_burst_unit):
	GstClockTime is unsigned, initialise correctly.
	* gst/tcp/gsttcp.c: (gst_tcp_socket_write):
	Cast so pointer arithemetic doesn't cause warnings on Forte.
	* gst/videorate/gstvideorate.c:
	Use correct return value.
	* tests/examples/seek/scrubby.c:
	GstClockTime is unsigned, initialise correctly.

706 707 708 709 710 711 712 713
2006-10-10  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Ferenc Gerlits  <fgerlits at gmail com>

	* gst/typefind/gsttypefindfunctions.c:
	  Recognise XML files and XML-like files shorter than 256 bytes as
	  well (fixes #359237).

714 715 716 717 718 719 720
2006-10-09  Edgard Lima <edgard.lima@indt.org.br>

	Patch by: Renato Filho <renato.filho@indt.org.br>
	
	* gst/typefind/gsttypefindfunctions.c:
	Added typefind functions to video/x-nuv media.
	
721 722 723 724 725 726
2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/interfaces/xoverlay.c:
	(gst_x_overlay_set_xwindow_id), (gst_x_overlay_expose):
	  Some more guards against invalid input.

727 728 729 730 731 732 733 734
2006-10-07  Julien MOUTTE  <julien@moutte.net>

	* ext/pango/gsttextoverlay.c: (gst_text_overlay_text_event): 
	Useless goto.
	* tests/examples/seek/seek.c: (do_seek),
	(rate_spinbutton_changed_cb), (main): Add a rate spinbutton in
	seek example to experiment with rates != 1.0 (reverse playback !)

735 736 737 738 739
2006-10-06  Stefan Kost  <ensonic@users.sf.net>

	* gst-libs/gst/interfaces/xoverlay.c:
	  Unref message in doc-example (spotted by Robert McQueen)

740 741 742 743 744 745
2006-10-06  Wim Taymans  <wim@fluendo.com>

	* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
	(mpeg1_parse_header), (mpeg1_sys_type_find):
	printf fix.

746 747 748 749 750 751 752
2006-10-06  Wim Taymans  <wim@fluendo.com>

	* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
	(close_pad_link):
	* gst/playback/gstplaybasebin.c: (new_decoded_pad_full):
	Activate dynamic pads before adding them to the element.

753 754 755 756 757
2006-10-06  Michael Smith  <msmith@fluendo.com>

	* gst-libs/gst/floatcast/floatcast.h:
	  Fix obviously-bogus macros; use the correct types.

758 759 760 761 762 763 764 765 766 767
2006-10-06  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/rtp/gstbasertpdepayload.c:
	(gst_base_rtp_depayload_change_state):
	Also call parent state change function to activate pads.

	* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
	(mpeg1_parse_header), (mpeg1_sys_type_find):
	Add some more debug info in mpeg typefinding.

768 769 770 771 772 773
2006-10-06  Michael Smith  <msmith@fluendo.com>

	* ext/theora/theoradec.c: (theora_dec_chain):
	  Zero byte theora packets are valid and well-defined; don't warn on
	  them.

774 775 776 777 778 779 780
2006-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>

	* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init),
	(gst_multi_fd_sink_get_stats), (find_limits),
	(gst_multi_fd_sink_queue_buffer):
	  API: add dropped_buffers to the get-stats GValueArray

Tim-Philipp Müller's avatar
Tim-Philipp Müller committed
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814
2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/alsa/gstalsadeviceprobe.c:
	(gst_alsa_device_property_probe_get_values):
	* ext/alsa/gstalsasink.c: (set_hwparams):
	* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_elem_pad),
	(gst_ogg_chain_new_stream), (gst_ogg_demux_read_chain):
	* ext/ogg/gstoggmux.c: (gst_ogg_mux_send_headers),
	(gst_ogg_mux_process_best_pad):
	* ext/ogg/gstoggparse.c: (gst_ogg_parse_new_stream),
	(gst_ogg_parse_chain):
	* ext/ogg/gstogmparse.c: (gst_ogm_parse_stream_header):
	* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
	* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_setup),
	(gst_vorbis_enc_buffer_check_discontinuous):
	* ext/vorbis/vorbisparse.c: (vorbis_parse_src_query):
	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_render):
	* gst-libs/gst/cdda/gstcddabasesrc.c:
	(gst_cdda_base_src_handle_track_seek):
	* gst-libs/gst/rtp/gstbasertpdepayload.c:
	(gst_base_rtp_depayload_push_full):
	* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
	* gst/audioresample/resample.c: (resample_input_pushthrough):
	* gst/playback/gstplaybasebin.c: (queue_out_of_data):
	* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_handle_clients):
	* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
	(wavpack_type_find):
	* gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_create):
	* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
	(gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new):
	* tests/check/elements/volume.c: (GST_START_TEST):
	  Printf format fixes.

815 816 817 818 819 820
2006-10-04  Thomas Vander Stichele  <thomas at apestaart dot org>

	* gst/tcp/gsttcp.c: (gst_tcp_gdp_read_caps):
	  Fix a simple mistake (see the docs)
	  Fixes #359580

821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856
2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>

	* docs/plugins/Makefile.am:
	* docs/plugins/gst-plugins-base-plugins-docs.sgml:
	* docs/plugins/gst-plugins-base-plugins-sections.txt:
	* docs/plugins/gst-plugins-base-plugins.args:
	* docs/plugins/gst-plugins-base-plugins.hierarchy:
	* docs/plugins/inspect/plugin-adder.xml:
	* docs/plugins/inspect/plugin-alsa.xml:
	* docs/plugins/inspect/plugin-audioconvert.xml:
	* docs/plugins/inspect/plugin-audiorate.xml:
	* docs/plugins/inspect/plugin-audioresample.xml:
	* docs/plugins/inspect/plugin-audiotestsrc.xml:
	* docs/plugins/inspect/plugin-cdparanoia.xml:
	* docs/plugins/inspect/plugin-decodebin.xml:
	* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
	* docs/plugins/inspect/plugin-gdp.xml:
	* docs/plugins/inspect/plugin-gnomevfs.xml:
	* docs/plugins/inspect/plugin-libvisual.xml:
	* docs/plugins/inspect/plugin-ogg.xml:
	* docs/plugins/inspect/plugin-pango.xml:
	* docs/plugins/inspect/plugin-playbin.xml:
	* docs/plugins/inspect/plugin-subparse.xml:
	* docs/plugins/inspect/plugin-tcp.xml:
	* docs/plugins/inspect/plugin-theora.xml:
	* docs/plugins/inspect/plugin-typefindfunctions.xml:
	* docs/plugins/inspect/plugin-video4linux.xml:
	* docs/plugins/inspect/plugin-videorate.xml:
	* docs/plugins/inspect/plugin-videoscale.xml:
	* docs/plugins/inspect/plugin-videotestsrc.xml:
	* docs/plugins/inspect/plugin-volume.xml:
	* docs/plugins/inspect/plugin-vorbis.xml:
	* docs/plugins/inspect/plugin-ximagesink.xml:
	* docs/plugins/inspect/plugin-xvimagesink.xml:
	  Add vorbistag element to docs; update version numbers to 0.10.10.1.

857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882
2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: James "Doc" Livingston <doclivingston at gmail com>

	* ext/vorbis/Makefile.am:
	* ext/vorbis/vorbis.c: (plugin_init):
	* ext/vorbis/vorbisparse.c: (gst_vorbis_parse_class_init),
	(vorbis_parse_parse_packet), (vorbis_parse_chain):
	* ext/vorbis/vorbisparse.h:
	* ext/vorbis/vorbistag.c: (gst_vorbis_tag_base_init),
	(gst_vorbis_tag_class_init), (gst_vorbis_tag_init),
	(gst_vorbis_tag_parse_packet):
	* ext/vorbis/vorbistag.h:
	  Add new vorbistag element which derives from vorbisparse
	  and is essentially the same as well, only that it implements
	  the GstTagSetter interface and can modify the stream's
	  vorbiscomment on the fly (#335635).

	* tests/check/Makefile.am:
	* tests/check/elements/.cvsignore:
	* tests/check/elements/vorbistag.c: (setup_vorbistag),
	(cleanup_vorbistag), (buffer_probe), (start_pipeline),
	(get_buffer), (stop_pipeline), (_create_codebook_header_buffer),
	(_create_audio_buffer), (GST_START_TEST), (vorbistag_suite):
	  Add unit test for new vorbistag element.

883 884 885 886 887 888 889 890
2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/vorbis/vorbisparse.c: (gst_vorbis_parse_init),
	(vorbis_parse_push_headers), (vorbis_parse_chain):
	  Set BOS flag in packet structure to fix 'jump depends
	  on unitialized value' errors in valgrind; various minor
	  clean-ups.

891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910
2006-09-30  Jan Schmidt  <thaytan@mad.scientist.com>

	* gst/playback/gstdecodebin.c: (close_pad_link):
	Fix typo in a debug statement.

	* gst/playback/gstplaybasebin.c: (probe_triggered),
	(new_decoded_pad_full), (new_decoded_pad), (subs_new_decoded_pad),
	(gen_source_element), (source_new_pad), (analyse_source),
	(setup_source):
	When handling no_more_pads in new_decoded_pad, make sure to treat
	subtitle pads correctly. Fixes playback with subtitle files.

	Move a recurring message to LOG level.

	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
	The maximum value for the Xv colorkey on this Radeon is 0xFFFFFFFF,
	which ends up as -1 when cast to an int. Make the logic handle the
	max value as an unsigned mask and only change the colorkey when it's
	a value we recognise.

911 912 913 914 915
2006-09-29 Philippe Kalaf <philippe.kalaf@collabora.co.uk> 	 

	* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
	Removed empty * between paragraphs

916 917 918 919 920 921
2006-09-29 Philippe Kalaf <philippe.kalaf@collabora.co.uk> 	 

	* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
	* gst-libs/gst/rtp/README:
	Moved some documentation into .c file

922 923 924 925 926
2006-09-29  Wim Taymans  <wim@fluendo.com>

	* gst/playback/gstdecodebin.c: (no_more_pads):
	Fix compilation.

927 928 929 930 931 932 933 934
2006-09-29  Wim Taymans  <wim@fluendo.com>

	* gst/playback/gstdecodebin.c: (new_caps):
	Remove g_print

	* gst/playback/gstplaybin.c:
	Add some docs.

935 936 937 938 939 940
2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/Makefile.am:
	  Re-enable cddabasesrc test to see if it works again
	  now.

941 942 943 944 945 946
2006-09-29  Wim Taymans  <wim@fluendo.com>

	* gst/playback/gstplaybasebin.c: (setup_subtitle),
	(gen_source_element):
	Handle invalid URIs a bit more gracefully.

947 948 949 950 951
2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/pipelines/oggmux.c:
	  Remove obsolete comment.

952 953 954 955 956 957 958 959 960 961 962 963 964 965 966
2006-09-29  Michael Smith  <msmith@fluendo.com>

	* ext/ogg/gstoggmux.c: (gst_ogg_mux_request_new_pad),
	(gst_ogg_mux_release_pad), (gst_ogg_mux_push_buffer),
	(gst_ogg_mux_compare_pads), (gst_ogg_mux_queue_pads),
	(gst_ogg_mux_send_headers), (gst_ogg_mux_process_best_pad),
	(gst_ogg_mux_collected):
	  Commit patch from James "Doc" Livingston, adds proper EOS handling
	  in oggmux. GStreamer can, for the first time ever, create a valid
	  Ogg file! Yay!

	* tests/check/pipelines/oggmux.c: (check_chain_final_state),
	(oggmux_suite):
	  Reenable tests now that they pass.

967 968 969 970 971
2006-09-29  Wim Taymans  <wim@fluendo.com>

	* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_handle_clients):
	Stop reading commands when EOF (we read 0) as well.

972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000
2006-09-28  Wim Taymans  <wim@fluendo.com>

	* gst/playback/gstdecodebin.c: (dynamic_create), (dynamic_free),
	(close_pad_link), (dynamic_remove), (no_more_pads), (new_caps),
	(find_dynamic), (unlinked), (close_link):
	Implement delayed caps linking needed for element with a lot of
	different caps on the src pads that get fixed at runtime.
	Improve management of dynamic elements.

	* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),
	(group_destroy), (group_commit), (check_queue), (queue_overrun),
	(gen_preroll_element), (remove_groups), (unknown_type),
	(add_element_stream), (no_more_pads_full), (no_more_pads),
	(sub_no_more_pads), (source_no_more_pads), (preroll_unlinked),
	(new_decoded_pad), (setup_subtitle), (array_has_value),
	(gen_source_element), (source_new_pad), (has_all_raw_caps),
	(analyse_source), (remove_decoders), (make_decoder),
	(remove_source), (setup_source), (finish_source), (prepare_output),
	(gst_play_base_bin_change_state):
	* gst/playback/gstplaybasebin.h:
	Use more _CAST instead of full type checking casts.
	Small cleanups, plug some leaks.
	Handle dynamic sources.
	Add some helper functions to create lists of strings used for
	blacklisting and other stuff.
	Refactor some code dealing with analysing the source.
	Re-enable sources without pads (like cd:// or other selfcontained
	elements).

1001 1002 1003 1004 1005 1006 1007
2006-09-28  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_render):
	When we have a timestamp, we can still perform clipping.
	When we have no clock, we must play the sample ASAP.

1008 1009 1010 1011 1012 1013 1014 1015 1016 1017
2006-09-28  Wim Taymans  <wim@fluendo.com>

	* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
	Set caps on outgoing buffers.

	* gst/videorate/gstvideorate.c: (gst_video_rate_flush_prev),
	(gst_video_rate_event), (gst_video_rate_chain):
	* gst/videorate/gstvideorate.h:
	Fix videorate some more. Fixes #357977

1018 1019 1020 1021 1022 1023 1024
2006-09-28  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/elements/adder.c: (adder_suite):
	  Don't set timeout to 6 seconds when we're running
	  in valgrind ... (and how is 6 seconds longer than
	  the default anyway?)

1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035
2006-09-28  Wim Taymans  <wim@fluendo.com>

	* gst/audiorate/gstaudiorate.c: (gst_audio_rate_reset),
	(gst_audio_rate_sink_event), (gst_audio_rate_convert),
	(gst_audio_rate_convert_segments), (gst_audio_rate_chain):
	Keep sink and src segment to keep track of time and support more
	input formats.
	Fix bogus next_offset and run_time calculation, don't understand how
	this could have worked before. Fixes #357976.
	Remove some unneeded vars.

1036 1037 1038 1039 1040 1041
2006-09-28  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gstplaybin.c: (remove_sinks):
	  Only remove visualisation from visbin if there is a visbin (or:
	  don't throw warnings when closing totem without playing a file).

1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058
2006-09-27  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_render):
	Add some more info in a WARNING.

	* gst-libs/gst/audio/gstbaseaudiosrc.c:
	(gst_base_audio_src_create):
	Handle PAUSE in create function, use new -core addition to
	wait for playing. Fixes pausing and resuming capture from an
	audiosrc.

	* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit),
	(gst_ring_buffer_read):
	Constify some more.
	Caller supports interrupted reads now.

1059 1060 1061 1062 1063
2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/Makefile.am:
	  Another attempt to make the gen64 buildbot happy.

1064 1065 1066 1067 1068 1069 1070 1071 1072
2006-09-27  Stefan Kost  <ensonic@users.sf.net>

	Patch by: Jonathan Matthew <jonathan@kaolin.wh9.net>

	* ext/libvisual/visual.c: (gst_visual_clear_actors),
	(gst_visual_chain), (gst_visual_change_state):
	  Libvisual plugin was not passing audio data to libvisual 0.4.0 
	  correctly. Fixes #357800

1073 1074 1075 1076 1077 1078
2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
	  Add timeout to _get_state() so we see which pipeline it is
	  that causes trouble on the gen64 build bot.

1079 1080 1081 1082 1083 1084 1085 1086
2006-09-27  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/rtp/gstbasertpdepayload.c:
	(gst_base_rtp_depayload_init), (gst_base_rtp_depayload_push_full),
	(gst_base_rtp_depayload_push_ts), (gst_base_rtp_depayload_process),
	(gst_base_rtp_depayload_set_gst_timestamp):
	the source pad always uses fixed caps.

Wim Taymans's avatar
Wim Taymans committed
1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103
2006-09-27  Wim Taymans  <wim@fluendo.com>

	* docs/libs/gst-plugins-base-libs-docs.sgml:
	* docs/libs/gst-plugins-base-libs-sections.txt:
	* gst-libs/gst/audio/gstaudioclock.c:
	* gst-libs/gst/audio/gstaudioclock.h:
	* gst-libs/gst/audio/gstaudiosink.c:
	* gst-libs/gst/audio/gstaudiosink.h:
	* gst-libs/gst/audio/gstaudiosrc.c:
	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_render):
	* gst-libs/gst/audio/gstbaseaudiosink.h:
	* gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init):
	* gst-libs/gst/audio/gstbaseaudiosrc.h:
	* gst-libs/gst/audio/gstringbuffer.h:
	Added docs for the audio libs.

1104 1105 1106 1107 1108
2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/Makefile.am:
	  Temporarily disable test that fails on the bots for unknown reasons.

1109 1110 1111 1112 1113 1114 1115
2006-09-26 Philippe Kalaf <philippe.kalaf@collabora.co.uk> 	 

	* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
	* gst-libs/gst/rtp/gstbasertpaudiopayload.h:
	Moved AudioCodecType into priv
	Renamed all gst_basertpaudiopayload to gst_base_rtp_audio_payload prefixes

1116 1117 1118 1119 1120 1121 1122 1123 1124
2006-09-25  Wim Taymans  <wim@fluendo.com>

	* gst/playback/gstdecodebin.c: (gst_decode_bin_factory_filter),
	(add_fakesink), (remove_fakesink), (pad_probe), (close_pad_link),
	(is_demuxer_element), (try_to_link_1), (get_our_ghost_pad),
	(new_pad):
	Cleanups and small leak fixes.
	Added Depayloaders to valid list of autopluggable elements.

1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139
2006-09-25  Wim Taymans  <wim@fluendo.com>

	* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
	(gst_play_bin_vis_blocked), (gst_play_bin_set_property),
	(gen_video_element), (gen_text_element), (gen_audio_element),
	(gen_vis_element), (remove_sinks), (add_sink), (setup_sinks),
	(gst_play_bin_set_clock_func), (gst_play_bin_change_state):
	Detect NO_PREROLL state change returns and disable clock distribution to
	the sinks so that sync is disabled.
	Avoid some type checking and do simple casts instead.
	Small cleanups, fix some FIXMEs.
	Be more robust when linking user specified elements, catch an report
	errors. Fixes #357404.
	Fix some leaks in the error paths.

1140 1141 1142 1143 1144
2006-09-25  Stefan Kost  <ensonic@users.sf.net>

	* ChangeLog:
	  ChangeLog surgery for missing bug-number

1145 1146 1147 1148 1149 1150 1151
2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Peter Kjellerstedt  <pkj at axis com>

	* gst/playback/test.c:
	  Fix compilation with uClibc and -Werror (#357591).

1152 1153 1154 1155 1156 1157 1158 1159
2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add):
	  Parse dates that are followed by a time as well (#357532).

	* tests/check/libs/tag.c: (test_vorbis_tags):
	  Add unit test for this.

1160 1161 1162 1163 1164 1165 1166 1167
2006-09-23  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/audioconvert/gstaudioconvert.c: (make_lossless_changes),
	(gst_audio_convert_transform_caps):
	* gst/videotestsrc/videotestsrc.c: (gst_video_test_src_unicolor):
	* gst/videotestsrc/videotestsrc.h:
	  A few array const-ifications.

1168 1169 1170 1171 1172 1173 1174 1175
2006-09-23  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/Makefile.am:
	  See if this makes the build bots happy.

	* tests/check/libs/cddabasesrc.c:
	  UTF8-ise my name.

1176 1177 1178 1179 1180 1181 1182 1183 1184
2006-09-23  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Young-Ho Cha <ganadist at chollian dot net>

	* gst/subparse/samiparse.c: (handle_start_font),
	(fix_invalid_entities):
	  More case-insensitivity for certain tags; recognise entities with
	  decimal codes as special entities as well (#357330).

1185 1186 1187 1188 1189
2006-09-23  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/Makefile.am:
	  Need to build tag directory before cdda.

1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211
2006-09-23  Tim-Philipp Müller  <tim at centricular dot net>

	* docs/libs/gst-plugins-base-libs-sections.txt:
	* gst-libs/gst/cdda/Makefile.am:
	* gst-libs/gst/cdda/gstcddabasesrc.c:
	(gst_cdda_base_src_base_init):
	* gst-libs/gst/cdda/gstcddabasesrc.h:
	* gst-libs/gst/tag/tag.h:
	* gst-libs/gst/tag/tags.c: (gst_tag_register_tags_internal),
	(gst_tag_register_musicbrainz_tags):
	  Move GST_TAG_CDDA_* tags into libgsttag and make libgstcddabasesrc
	  depend on libgsttag. This is required so we can extract/read tags like
	  DISCID without depending on libgstcddabasesrc (which used to register
	  them).

	* gst-libs/gst/tag/gstvorbistag.c:
	  Add vorbiscomment mapping for CDDB_DISCID and MUSICBRAINZ_DISCID
	  tags (also see #347848).

	* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_metadata_set1):
	  Log vorbis comments we are actually writing. Const-ify array.

1212 1213 1214 1215 1216 1217
2006-09-23  Wim Taymans  <wim@fluendo.com>

	* gst/playback/gstplaybasebin.c: (gen_preroll_element):
	Improve buffering a bit by avoiding a deadlock because we cannot assume
	the underrun is always called.

1218 1219 1220 1221 1222 1223 1224 1225 1226 1227
2006-09-23  Wim Taymans  <wim@fluendo.com>

	Patch by: Young-Ho Cha <ganadist at chollian dot net>

	* gst-libs/gst/riff/riff-ids.h:
	* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
	(gst_riff_create_audio_template_caps):
	Added MPEG-4 AAC and id and caps. Fixes #357289
	Added WMA9 Lossless id.

1228 1229 1230 1231 1232 1233 1234 1235
2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/gnomevfs/gstgnomevfssrc.c:
	  Fix misleading docs addition.

	* tests/check/elements/videotestsrc.c: (check_rgb_buf):
	  Get rid of compiler warning the right way.

1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257
2006-09-22  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/rtp/gstbasertpdepayload.c:
	(gst_base_rtp_depayload_finalize),
	(gst_base_rtp_depayload_setcaps), (gst_base_rtp_depayload_chain),
	(gst_base_rtp_depayload_push_full),
	(gst_base_rtp_depayload_push_ts), (gst_base_rtp_depayload_push),
	(gst_base_rtp_depayload_process),
	(gst_base_rtp_depayload_set_gst_timestamp),
	(gst_base_rtp_depayload_queue_release):
	* gst-libs/gst/rtp/gstbasertpdepayload.h:
	Small cleanups.
	Fix some leaks.
	Refactored the process method and added methods to push from the process
	vmethod.
	Use _scale functions.
	API: gst_base_rtp_depayload_push_ts
	API: gst_base_rtp_depayload_push

	* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
	timestamps are uint.

1258 1259 1260 1261 1262
2006-09-22  Stefan Kost  <ensonic@users.sf.net>

	* gst-libs/gst/interfaces/xoverlay.c:
	  Remove unused statement from doc example.

1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277
2006-09-21  Stefan Kost  <ensonic@users.sf.net>

	* gst-libs/gst/interfaces/videoorientation.c:
	(gst_video_orientation_iface_init),
	(gst_video_orientation_get_hflip),
	(gst_video_orientation_get_vflip),
	(gst_video_orientation_get_hcenter),
	(gst_video_orientation_get_vcenter),
	(gst_video_orientation_set_hflip),
	(gst_video_orientation_set_vflip),
	(gst_video_orientation_set_hcenter),
	(gst_video_orientation_set_vcenter):
	  Add since tags to new API docs, ChangeLog surgery (forgot API keyword
	  in ChangeLog)

1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289
2006-09-21  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/Makefile.am:
	* tests/check/elements/.cvsignore:
	* tests/check/elements/ffmpegcolorspace.c: (rgb_format_to_caps),
	(create_rgb_conversions), (rgb_conversion_free),
	(right_shift_colour), (fix_expected_colour), (check_rgb_buf),
	(got_buf_cb), (GST_START_TEST), (ffmpegcolorspace_suite):
	  Add unit test for ffmpegcolorspace (RGB <=> RGB only so far),
	  but disable for now since it doesn't pass (something wrong with
	  RGBA somewhere).

1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301
2006-09-21  Wim Taymans  <wim@fluendo.com>

	* gst/playback/gstplaybasebin.c: (group_commit),
	(queue_deadlock_check), (queue_overrun), (queue_threshold_reached),
	(queue_out_of_data), (gen_preroll_element),
	(preroll_remove_overrun), (probe_triggered):
	Refactor handling of overrun detection.
	Separate handling of group completion and deadlock detection when doing
	network buffering. This should fix some deadlocks that were not detected
	because the group was completed.
	Add more comments, improve debugging.

1302 1303 1304 1305 1306 1307
2006-09-21  Wim Taymans  <wim@fluendo.com>

	* tests/check/elements/gdpdepay.c: (GST_START_TEST):
	* tests/check/libs/audio.c:
	Some more compilation fixes.

1308 1309 1310 1311 1312 1313 1314
2006-09-21  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstringbuffer.c:
	(gst_ring_buffer_samples_done), (gst_ring_buffer_commit),
	(gst_ring_buffer_read):
	Early morning compilation fix.

Wim Taymans's avatar
Wim Taymans committed
1315 1316 1317 1318 1319 1320 1321 1322 1323
2006-09-20  Wim Taymans  <wim@fluendo.com>

	* tests/check/elements/gdpdepay.c: (GST_START_TEST):
	* tests/check/elements/multifdsink.c: (GST_START_TEST):
	* tests/check/elements/videorate.c: (GST_START_TEST):
	* tests/check/libs/cddabasesrc.c: (GST_START_TEST):
	* tests/check/pipelines/oggmux.c: (eos_buffer_probe):
	Fix some warnings.

1324 1325 1326 1327 1328 1329 1330 1331
2006-09-20  Stefan Kost  <ensonic@users.sf.net>

	* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
	(gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new),
	(gst_xvimagesink_get_xv_support), (gst_xvimagesink_show_frame):
	  Handcrafted merge to help CVS understanding what I changed and what
	  not.

1332 1333 1334 1335 1336 1337
2006-09-20  Stefan Kost  <ensonic@users.sf.net>

	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
	(gst_xvimagesink_get_times):
	  change colorkey behaviour back according to #354773 comment 6/7

1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350
2006-09-19  Michael Smith  <msmith@fluendo.com>

	* gst/tcp/gstmultifdsink.c: (gst_sync_method_get_type),
	(gst_multi_fd_sink_class_init), (get_buffers_max), (find_limits),
	(gst_multi_fd_sink_recover_client),
	(gst_multi_fd_sink_queue_buffer), (gst_multi_fd_sink_set_property),
	(gst_multi_fd_sink_get_property):
	* gst/tcp/gstmultifdsink.h:
	  Implement stubbed out properties unit-type, units-soft-max,
	  units-max, to allow specifying maximum sizes in units other than
	  buffers.
	  Fixes #355935

1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363
2006-09-19  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
	(gst_riff_create_audio_template_caps):
	Reorder the audio formats a bit for clarity.
	Detect and create caps for MSGSM and MSN (WAV49).
	Fixes #356596.

	* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
	(gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new),
	(gst_xvimagesink_get_xv_support), (gst_xvimagesink_show_frame):
	Small cleanups, move error handling out of normal flow for clarity.

1364
2006-09-18  Stefan Kost  <ensonic@users.sf.net>
1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380

	* docs/libs/gst-plugins-base-libs-docs.sgml:
	* docs/libs/gst-plugins-base-libs.types:
	* gst-libs/gst/interfaces/Makefile.am:
	* gst-libs/gst/interfaces/videoorientation.c:
	(gst_video_orientation_get_type),
	(gst_video_orientation_iface_init),
	(gst_video_orientation_get_hflip),
	(gst_video_orientation_get_vflip),
	(gst_video_orientation_get_hcenter),
	(gst_video_orientation_get_vcenter),
	(gst_video_orientation_set_hflip),
	(gst_video_orientation_set_vflip),
	(gst_video_orientation_set_hcenter),
	(gst_video_orientation_set_vcenter):
	* gst-libs/gst/interfaces/videoorientation.h:
1381
	  API: Add new interface to control video orientation (fixes #354908)
1382

1383 1384 1385 1386 1387 1388 1389 1390 1391
2006-09-18  Stefan Kost  <ensonic@users.sf.net>

	* gst/videotestsrc/gstvideotestsrc.c:
	  Use G_UNLIKELY in _create and log one more detail.
	  
	(gst_video_test_src_get_times), (gst_video_test_src_create):
	* sys/ximage/ximagesink.c: (gst_ximagesink_get_times):
	  Use gst_util_uint64_scale_int in _get_times().

1392 1393 1394 1395 1396
2006-09-18  Stefan Kost  <ensonic@users.sf.net>

	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support)
	  Give better warning message (add object and detail).

1397 1398 1399 1400 1401 1402 1403
2006-09-18  Stefan Kost  <ensonic@users.sf.net>

	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
	(gst_xvimagesink_get_times):
	  xvimage assumed that XV_COLORKEY can be set in RGB888 format (fixes
	  #354773), use gst_util_uint64_scale_int in _get_times()

1404 1405 1406 1407 1408 1409
2006-09-18  Michael Smith  <msmith@fluendo.com>

	* ext/ogg/gstoggmux.c: (gst_ogg_mux_push_buffer):
	  Timestamps are unsigned; comparision against GST_CLOCK_TIME_NONE was
	  always true, leading to dropping all timestamps.

1410 1411 1412 1413
2006-09-18  Stefan Kost  <ensonic@users.sf.net>

	* ext/libvisual/visual.c: (gst_vis_src_negotiate),
	(gst_visual_chain), (gst_visual_change_state):
1414
	  update to work also with libvisual 0.4 API, fix double unref (#355914)
1415 1416 1417 1418 1419 1420 1421 1422 1423
	  
	* tools/gst-launch-ext.1.in:
	* tools/gst-visualise.1.in:
	  remove references to old man-pages

	* tests/examples/seek/seek.c: (main):
	  add real meadi-buttons, add tool-tips for the seek-options, arrange
	  seek options in a table

1424 1425 1426 1427 1428 1429 1430 1431
2006-09-18  Michael Smith  <msmith@fluendo.com>

	* ext/ogg/gstoggmux.c: (gst_ogg_mux_clear),
	(gst_ogg_mux_push_buffer):
	  Don't generate out-of-order timestamps from oggmux, instead clamp
	  output timestamps to be >= the previously output ts.
	  Fixes #355595

1432 1433 1434 1435 1436 1437 1438
2006-09-18  Michael Smith  <msmith@fluendo.com>

	* gst/tcp/gstmultifdsink.c: (gst_sync_method_get_type),
	(gst_multi_fd_sink_class_init):
	  Updates, fixes, and typo corrections for multifdsink. No functional
	  changes.

1439 1440 1441 1442 1443 1444
2006-09-17  Michael Smith  <msmith@fluendo.com>

	* gst/typefind/gsttypefindfunctions.c: (ogganx_type_find):
	  Don't crash on truncated files - check that we got an 8 byte buffer
	  before trying to memcmp it.

1445 1446 1447 1448 1449 1450 1451 1452 1453
2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gstplaybasebin.c: (get_active_source):
	  Make stream-switching appear instant to the application
	  (ie. make sure that a g_object_get on 'current-foo' returns
	  the stream previously set with g_object_set(). Totem needs
	  this to update stream-related meta-info (like audio-codec)
	  correctly when switching streams.

1454 1455 1456 1457 1458 1459 1460 1461
2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_find_master_mixer),
	(gst_alsa_mixer_ensure_track_list):
	  Try harder to guess which mixer track is the master mixer
	  track (instead of just taking the first one that has a pvolume).
	  Fixes #342228.

1462 1463 1464 1465 1466 1467
2006-09-17  Stefan Kost  <ensonic@users.sf.net>

	* gst/audioconvert/gstaudioconvert.c: (set_structure_widths),
	(gst_audio_convert_transform_caps):
          Get structure-name just once.

1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479
2006-09-17  Stefan Kost  <ensonic@users.sf.net>

	* tests/check/elements/audioresample.c: (GST_START_TEST):
	* tests/check/elements/videotestsrc.c: (check_rgb_buf):
	* tests/check/elements/volume.c: (GST_START_TEST):
	* tests/check/elements/vorbisdec.c: (GST_START_TEST):
	* tests/check/pipelines/oggmux.c: (validate_ogg_page), (eos_watch),
	(test_pipeline), (GST_START_TEST):
	* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
	* tests/check/pipelines/vorbisenc.c: (GST_START_TEST):
          Fix big batch of compiler warnings.

1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498
2006-09-17  Stefan Kost  <ensonic@users.sf.net>

	* ext/gnomevfs/gstgnomevfssrc.c:
          Add docs about icydemux usage in connection with gnomevfssrc

	* ext/libvisual/visual.c:
	* ext/ogg/gstoggaviparse.c:
	* ext/ogg/gstoggdemux.c:
	* ext/ogg/gstoggmux.c:
	* ext/ogg/gstoggparse.c:
	* gst-libs/gst/audio/gstaudiofiltertemplate.c:
	* gst-libs/gst/audio/gstaudiosink.c:
	* gst-libs/gst/audio/gstaudiosrc.c:
	* gst/audiorate/gstaudiorate.c:
	  More G_OBJECT macro fixing.

	* gst/audiotestsrc/gstaudiotestsrc.h:
          Fix wrong info in header due to copy & paste

1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520
2006-09-15  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_get_time), (gst_base_audio_sink_callback):
	* gst-libs/gst/audio/gstbaseaudiosrc.c:
	(gst_base_audio_src_get_time), (gst_base_audio_src_fixate),
	(gst_base_audio_src_get_times), (gst_base_audio_src_get_offset),
	(gst_base_audio_src_create), (gst_base_audio_src_change_state):
	Do the delay calculation in the source/sink base classes as this is
	specific for the capture/playback mode.
	Try to fixate a bit better, like round depth up to a multiple of 8
	bigger than width.
	Handle underruns correctly by marking DISCONT on buffers and adjusting
	timestamps to handle the gap.
	Set offset/offset_end correctly on buffers.

	* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_pause),
	(gst_ring_buffer_samples_done), (gst_ring_buffer_commit),
	(gst_ring_buffer_read):
	Remove resync and underrun recovery from the ringbuffer.
	Fix ringbuffer read code on under/overrun.

1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535
2006-09-15  Wim Taymans  <wim@fluendo.com>

	* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
	(gst_play_base_bin_init), (fill_buffer), (check_queue),
	(queue_threshold_reached), (gst_play_base_bin_set_property),
	(gst_play_base_bin_get_property):
	* gst/playback/gstplaybasebin.h:
	Don't use a 0 low watermark when buffering, it is catching starvation
	way too late. Instead, use a 3 second queue with 30 and 95
	percent low/high watermarks. 
	Added queue-min-threshold property to configure low watermark.
	Use new _buffering message API.
	Make queue_threshold variable big enough to store a uint64 time value.
	API: playbin::queue-min-threshold property.

1536 1537 1538 1539 1540 1541 1542 1543 1544
2006-09-15  Wim Taymans  <wim@fluendo.com>

	* configure.ac:
	We require 0.10.10.1 now because of _wait_preroll().

	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_render):
	Use gst_base_sink_wait_preroll().

1545 1546 1547 1548 1549 1550
2006-09-15  Wim Taymans  <wim@fluendo.com>

	* ext/alsa/gstalsasink.c: (xrun_recovery), (gst_alsasink_write):
	* ext/alsa/gstalsasrc.c: (xrun_recovery), (gst_alsasrc_read):
	Use DEBUG_OBJECT more.

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
1551 1552
=== release 0.10.10 ===

1553 1554 1555 1556 1557 1558 1559 1560 1561 1562
2006-09-07  Thomas Vander Stichele  <thomas at apestaart dot org>

	patch by: Michael Smith <msmith at fluendo dot com>

	* gst/tcp/gstmultifdsink.c: (is_sync_frame),
	(gst_multi_fd_sink_client_queue_buffer),
	(gst_multi_fd_sink_new_client):
	* tests/check/elements/multifdsink.c: (GST_START_TEST),
	(multifdsink_suite):
	  Fix implementation of sync-method 'next-keyframe'
1563
	  Closes #354594
1564

1565 1566 1567 1568 1569 1570 1571 1572
2006-09-07  Thomas Vander Stichele  <thomas at apestaart dot org>

	patch by: Wim Taymans <wim at fluendo dot com>

	* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_start):
	This patch removes the RANDOM flag that was incorrectly introduced with
	revision 1.91.  Fixes #354590

1573 1574 1575 1576 1577 1578
2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/Makefile.am:
	  Random variation in Makefile line to see if it makes the
	  gen64-base-full bot any happier.

1579 1580 1581 1582 1583
2006-09-04  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/pipelines/oggmux.c: (oggmux_suite):
	  Disable test that fails at the moment (killed after timeout).

1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597
2006-09-04  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: James Livingston  <doclivingston at gmail.com>

	* tests/check/Makefile.am:
	* tests/check/pipelines/.cvsignore:
	* tests/check/pipelines/oggmux.c: (get_page_codec),
	(check_chain_final_state), (fail_if_audio), (validate_ogg_page),
	(eos_buffer_probe), (start_pipeline), (stop_pipeline), (eos_watch),
	(test_pipeline), (test_vorbis), (test_theora), (test_vorbis_theora),
	(test_theora_vorbis), (oggmux_suite):
	  Add simple unit test for oggmux from #337026 with checking for the
	  EOS flags disabled for the time being.

1598 1599 1600 1601 1602 1603 1604
2006-09-04  Wim Taymans  <wim@fluendo.com>

	patch by: Alessandro Dessina <alessandro nnva org>

	* ext/ogg/gstoggmux.c:
	Add cmml caps to oggmux. Fixes #353912

1605 1606 1607 1608 1609 1610 1611
2006-09-02  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/elements/videotestsrc.c: (check_rgb_buf):
	  Returning a return value often helps. In this case, we
	  don't need the return value anyway, so just get rid of it.
	  Should make build bots much happier.

1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625
2006-09-02  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/videotestsrc/videotestsrc.c: (paintinfo_find_by_structure),
	(paint_get_structure), (gst_video_test_src_get_size),
	(gst_video_test_src_smpte), (gst_video_test_src_snow),
	(gst_video_test_src_unicolor), (paint_setup_AYUV),
	(paint_hline_AYUV), (paint_setup_ARGB8888), (paint_setup_ABGR8888),
	(paint_setup_RGBA8888), (paint_setup_BGRA8888), (paint_hline_str4):
	* gst/videotestsrc/videotestsrc.h:
	  Add support for AYUV and the various RGBA formats. Initialise
	  fields of paintinfo structs allocated on the stack.

	* tests/check/elements/videotestsrc.c: (right_shift_colour),
	(fix_expected_colour), (check_rgb_buf), (got_buf_cb),
1626
	(check_rgb_buf), (videotestsrc_suite):
1627 1628
	  Add unit tests for videotestsrc's RGB output.

1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641
2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/videotestsrc/gstvideotestsrc.c:
	(gst_video_test_src_pattern_get_type),
	(gst_video_test_src_set_pattern):
	* gst/videotestsrc/gstvideotestsrc.h:
	* gst/videotestsrc/videotestsrc.c: (gst_video_test_src_unicolor),
	(gst_video_test_src_black), (gst_video_test_src_white),
	(gst_video_test_src_red), (gst_video_test_src_green),
	(gst_video_test_src_blue):
	* gst/videotestsrc/videotestsrc.h:
	  Add more uni-colour patterns ("white", "red", "green", and "blue").

1642 1643 1644 1645 1646
2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/videotestsrc/videotestsrc.c: (paint_setup_YVYU):
	  Fix stride for YVYU, should be word-aligned (#353658).

1647 1648 1649 1650 1651
2006-08-31  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/adder/gstadder.c: (gst_adder_src_event):
	  Fix build.

1652 1653 1654 1655 1656 1657 1658 1659 1660 1661
2006-08-31  Edward Hervey  <edward@fluendo.com>

	* gst/adder/gstadder.c: (forward_event_func),
	(gst_adder_src_event), (gst_adder_collected),
	(gst_adder_change_state):
	* gst/adder/gstadder.h:
	Remember the start position asked in the incoming seeks, so we can
	output GST_EVENT_NEW_SEGMENT with a correct position value (instead
	of assuming it will always be 0).

1662 1663 1664 1665 1666 1667 1668
2006-08-31  Edward Hervey  <edward@fluendo.com>

	* ext/ogg/gstoggdemux.c: (gst_ogg_demux_init),
	(gst_ogg_demux_finalize), (gst_ogg_demux_perform_seek),
	(gst_ogg_demux_loop):
	Send the GST_EVENT_NEW_SEGMENT from the streaming thread.

1669 1670 1671 1672 1673 1674 1675 1676
2006-08-30  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
	(gst_ffmpegcsp_get_unit_size):
	  Return FALSE instead of returning a random false unit
	  size when the format isn't known/supported (even if
	  this shouldn't happen under normal circumstances).

1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687
2006-08-29  Wim Taymans  <wim@fluendo.com>

	Patch by: Tim-Philipp Müller  <tim at centricular dot net>

	* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_create),
	(gst_gnome_vfs_src_start):
	Try harder to get the size from a uri by using _info_uri() when
	_info_from_handle() does not give us enough info. 
	Also follow symlinks when getting the size.
	Partially Fixes #332864.

1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701
2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Viktor Peters  <viktor dot peters at gmail dot com>

	* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_ensure_track_list),
	(gst_alsa_mixer_update), (gst_alsa_mixer_get_volume),
	(gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute),
	(gst_alsa_mixer_set_record):
	* ext/alsa/gstalsamixertrack.c:
	(gst_alsa_mixer_track_update_alsa_capabilities),
	(alsa_track_has_cap), (gst_alsa_mixer_track_new),
	(gst_alsa_mixer_track_update):
	* ext/alsa/gstalsamixertrack.h:
	  Improve and fix mixer track handling, in particular better handling
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
1702 1703 1704
	  of alsa's pvolume/pswitch/cvolume/cswitch capabilities; create
	  separate track objects for tracks that have both capture and playback
	  volume (and label them differently as well so they're not mistakenly
1705 1706 1707 1708 1709 1710 1711 1712 1713
	  assumed to be duplicates); classify mixer tracks that only affect
	  the audible volume of something (rather than the capture volume)
	  as playback tracks. Redefine/fix meaning of RECORD and MUTE flags
	  for capture tracks to correspond to alsa-pswitch alsa-cswitch
	  (following the meaning documented in the mixer interface header
	  file); add support for alsa's exclusive cswitch groups; update/sync
	  state/flags better if mixer settings are changed by another
	  application. Fixes #336075.

1714 1715 1716 1717 1718
2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gstplaybin.c:
	  Improve docs: add section about BUFFERING messages sent by playbin.

1719 1720 1721 1722 1723 1724 1725 1726 1727
2006-08-29  Michael Smith  <msmith@fluendo.com>

	* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_push_buffer),
	(gst_vorbis_enc_buffer_check_discontinuous),
	(gst_vorbis_enc_chain):
	  Ignore explicit DISCONT marked on buffers (which is often spurious,
	  particularly when using multiple segments), in favour of solely
	  using the timestamps/durations.

1728 1729 1730 1731 1732 1733 1734 1735 1736 1737
2006-08-29  Edward Hervey  <edward@fluendo.com>

	* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
	Don't rely on incoming buffers offset anymore, since it is completely
	broken when using multiple segments.
	Instead convert the incoming buffers timestamp to running time, and
	then convert that value to the offsets.
	Also inform GstSegment of the last outputted stop position, which is
	needed if we received several segments with an unknown stop value.

1738 1739 1740 1741 1742
2006-08-29  Thomas Vander Stichele  <thomas at apestaart dot org>

	* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_chain):
	  fix buffer unreffing on a header push failure

1743 1744 1745 1746 1747 1748 1749
2006-08-28  Wim Taymans  <wim@fluendo.com>

	* gst/audiorate/gstaudiorate.c: (gst_audio_rate_sink_event),
	(gst_audio_rate_chain):
	Make the metadata of the buffer writable before changing its
	flags.

1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760
2006-08-28  Wim Taymans  <wim@fluendo.com>

	* gst/audiorate/gstaudiorate.c: (gst_audio_rate_reset),
	(gst_audio_rate_setcaps), (gst_audio_rate_init),
	(gst_audio_rate_sink_event), (gst_audio_rate_src_event),
	(gst_audio_rate_chain), (gst_audio_rate_change_state):
	Fix audiorate some more.
	Reset and resync counters on flush and READY.
	Handle the DISCONT flag correctly.
	Use GstSegment to track position.
	Fail when not negotiated.
1761
	Fixes #353234.
1762

1763 1764 1765 1766 1767 1768
2006-08-25  Michael Smith  <msmith@fluendo.com>

	* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_render):
	  Fix spelling.
	  Remove accidently included debug line.

1769 1770 1771 1772 1773 1774 1775 1776
2006-08-25  Wim Taymans  <wim@fluendo.com>

	* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_render):
	Small cleanups.
	If a buffer is received with no caps, make the buffer metadata
	writable and set the caps, making sure that we don't screw up the
	refcounts.

1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789
2006-08-25  Michael Smith  <msmith@fluendo.com>

	* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset),
	(gst_gdp_pay_reset_streamheader), (gst_gdp_pay_chain):
	  Fix memory leaks and misleading debug messages, add a couple of
	  comments.

	* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_get_stats),
	(gst_multi_fd_sink_render):
	  Do not use gst_buffer_make_writable() in a basesink render method,
	  as it may incorrectly unref the buffer. Instead, use convoluted
	  dance to avoid copying the buffer except when we need to.

1790 1791 1792 1793 1794 1795 1796 1797 1798 1799
2006-08-25  Michael Smith  <msmith@fluendo.com>

	* ext/vorbis/vorbisenc.c:
	(gst_vorbis_enc_buffer_check_discontinuous):
	  Allow very small discontinuities in the timestamps. These we can't
	  do anything useful with anyway (because vorbis's timestamps have
	  only sample granularity), and are commonly produced by elements with
	  minor bugs. Allow up to 1/2 a sample out.
	  Fixes #351742.

1800 1801 1802 1803 1804 1805 1806
2006-08-24  Wim Taymans  <wim@fluendo.com>

	* tests/examples/seek/seek.c: (seek_cb), (start_seek), (stop_seek),
	(play_scrub_toggle_cb), (main):
	Add a checkbox to enable play scrubbing. Makes it possible to disable
	normal scrubbing.

1807 1808 1809 1810 1811
2006-08-23  Stefan Kost  <ensonic@users.sf.net>

	* tests/check/elements/.cvsignore:
	  make buildbot happy

1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827