ChangeLog 1.04 MB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
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.

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.

30
31
32
33
34
35
36
37
38
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.

39
40
41
42
43
44
45
46
47
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).

48
49
50
51
52
53
54
55
56
57
58
59
60
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.

61
62
63
64
65
66
67
68
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)

69
70
71
72
73
74
75
76
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.

77
78
79
80
81
82
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.

83
84
85
86
87
88
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).

89
90
91
92
93
94
95
96
97
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.

98
99
100
101
102
103
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.

104
105
106
107
108
109
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.

110
111
112
113
114
115
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.

116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
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.

138
139
140
141
142
143
144
145
146
147
148
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.

149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
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.

164
165
166
167
168
2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>

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

169
170
171
172
173
174
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).

175
176
177
178
179
180
181
182
183
184
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.

185
186
187
188
189
190
191
192
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.

193
194
195
196
197
198
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.

199
200
201
202
203
204
205
206
207
208
209
210
211
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.

212
213
214
215
216
217
218
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.

219
220
221
222
223
224
225
226
227
228
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.

229
230
231
232
233
234
235
236
237
238
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 !

239
240
241
242
243
244
245
246
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).

247
248
249
250
251
252
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.

253
254
255
256
257
258
259
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.

260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
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.

304
305
306
307
308
309
310
311
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).

312
313
314
315
316
317
318
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.
	
319
320
321
322
323
324
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.

325
326
327
328
329
330
331
332
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 !)

333
334
335
336
337
2006-10-06  Stefan Kost  <ensonic@users.sf.net>

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

338
339
340
341
342
343
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.

344
345
346
347
348
349
350
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.

351
352
353
354
355
2006-10-06  Michael Smith  <msmith@fluendo.com>

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

356
357
358
359
360
361
362
363
364
365
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.

366
367
368
369
370
371
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.

372
373
374
375
376
377
378
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
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
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.

413
414
415
416
417
418
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

419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
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.

455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
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.

481
482
483
484
485
486
487
488
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.

489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
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.

509
510
511
512
513
2006-09-29 Philippe Kalaf <philippe.kalaf@collabora.co.uk> 	 

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

514
515
516
517
518
519
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

520
521
522
523
524
2006-09-29  Wim Taymans  <wim@fluendo.com>

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

525
526
527
528
529
530
531
532
2006-09-29  Wim Taymans  <wim@fluendo.com>

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

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

533
534
535
536
537
538
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.

539
540
541
542
543
544
2006-09-29  Wim Taymans  <wim@fluendo.com>

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

545
546
547
548
549
2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>

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

550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
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.

565
566
567
568
569
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.

570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
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).

599
600
601
602
603
604
605
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.

606
607
608
609
610
611
612
613
614
615
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

616
617
618
619
620
621
622
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?)

623
624
625
626
627
628
629
630
631
632
633
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.

634
635
636
637
638
639
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).

640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
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.

657
658
659
660
661
2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>

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

662
663
664
665
666
667
668
669
670
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

671
672
673
674
675
676
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.

677
678
679
680
681
682
683
684
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
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
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.

702
703
704
705
706
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.

707
708
709
710
711
712
713
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

714
715
716
717
718
719
720
721
722
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.

723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
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.

738
739
740
741
742
2006-09-25  Stefan Kost  <ensonic@users.sf.net>

	* ChangeLog:
	  ChangeLog surgery for missing bug-number

743
744
745
746
747
748
749
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).

750
751
752
753
754
755
756
757
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.

758
759
760
761
762
763
764
765
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.

766
767
768
769
770
771
772
773
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.

774
775
776
777
778
779
780
781
782
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).

783
784
785
786
787
2006-09-23  Tim-Philipp Müller  <tim at centricular dot net>

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

788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
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.

810
811
812
813
814
815
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.

816
817
818
819
820
821
822
823
824
825
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.

826
827
828
829
830
831
832
833
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.

834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
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.

856
857
858
859
860
2006-09-22  Stefan Kost  <ensonic@users.sf.net>

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

861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
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)

876
877
878
879
880
881
882
883
884
885
886
887
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).

888
889
890
891
892
893
894
895
896
897
898
899
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.

900
901
902
903
904
905
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.

906
907
908
909
910
911
912
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
913
914
915
916
917
918
919
920
921
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.

922
923
924
925
926
927
928
929
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.

930
931
932
933
934
935
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

936
937
938
939
940
941
942
943
944
945
946
947
948
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

949
950
951
952
953
954
955
956
957
958
959
960
961
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.

962
2006-09-18  Stefan Kost  <ensonic@users.sf.net>
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978

	* 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:
979
	  API: Add new interface to control video orientation (fixes #354908)
980

981
982
983
984
985
986
987
988
989
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().

990
991
992
993
994
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).

995
996
997
998
999
1000
1001
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()

1002
1003
1004
1005
1006
1007
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.

1008
1009
1010
1011
2006-09-18  Stefan Kost  <ensonic@users.sf.net>

	* ext/libvisual/visual.c: (gst_vis_src_negotiate),
	(gst_visual_chain), (gst_visual_change_state):
1012
	  update to work also with libvisual 0.4 API, fix double unref (#355914)
1013
1014
1015
1016
1017
1018
1019
1020
1021
	  
	* 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

1022
1023
1024
1025
1026
1027
1028
1029
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

1030
1031
1032
1033
1034
1035
1036
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.

1037
1038
1039
1040
1041
1042
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.

1043
1044
1045
1046
1047
1048
1049
1050
1051
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.

1052
1053
1054
1055
1056
1057
1058
1059
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.

1060
1061
1062
1063
1064
1065
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.

1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
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.

1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
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

1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
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.

1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
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.

1134
1135
1136
1137
1138
1139
1140
1141
1142
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().

1143
1144
1145
1146
1147
1148
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
1149
1150
=== release 0.10.10 ===

1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
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'
1161
	  Closes #354594
1162

1163
1164
1165
1166
1167
1168
1169
1170
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

1171
1172
1173
1174
1175
1176
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.

1177
1178
1179
1180
1181
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).

1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
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.

1196
1197
1198
1199
1200
1201
1202
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

1203
1204
1205
1206
1207
1208
1209
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.

1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
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),
1224
	(check_rgb_buf), (videotestsrc_suite):
1225
1226
	  Add unit tests for videotestsrc's RGB output.

1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
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").

1240
1241
1242
1243
1244
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).

1245
1246
1247
1248
1249
2006-08-31  Tim-Philipp Müller  <tim at centricular dot net>

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

1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
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).

1260
1261
1262
1263
1264
1265
1266
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.

1267
1268
1269
1270
1271
1272
1273
1274
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).

1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
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.

1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
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
1300
1301
1302
	  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
1303
1304
1305
1306
1307
1308
1309
1310
1311
	  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.

1312
1313
1314
1315
1316
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.

1317
1318
1319
1320
1321
1322
1323
1324
1325
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.

1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
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.

1336
1337
1338
1339
1340
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

1341
1342
1343
1344
1345
1346
1347
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.

1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
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.
1359
	Fixes #353234.
1360

1361
1362
1363
1364
1365
1366
2006-08-25  Michael Smith  <msmith@fluendo.com>

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

1367
1368
1369
1370
1371
1372
1373
1374
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.

1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
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.

1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
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.

1398
1399
1400
1401
1402
1403
1404
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.

1405
1406
1407
1408
1409
2006-08-23  Stefan Kost  <ensonic@users.sf.net>

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

1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
2006-08-23  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/ogg/gstogmparse.c: (gst_ogm_audio_parse_base_init),
	(gst_ogm_video_parse_base_init), (gst_ogm_text_parse_base_init),
	(gst_ogm_parse_class_init), (gst_ogm_parse_dispose),
	(gst_ogm_parse_init), (gst_ogm_audio_parse_init),
	(gst_ogm_video_parse_init), (gst_ogm_text_parse_init),
	(gst_ogm_parse_stream_header), (gst_ogm_parse_comment_packet),
	(gst_ogm_text_parse_strip_trailing_zeroes),
	(gst_ogm_parse_data_packet), (gst_ogm_parse_chain),
	(gst_ogm_parse_sink_event), (gst_ogm_parse_change_state):
	  Refactor ogm parse, do better input checking, misc. clean-ups.
	  Cache incoming events and push them once the source pad has
	  been created. Don't pass unterminated strings to sscanf().
	  Strip trailing zeroes from subtitle text output, since they
	  are not valid UTF-8. Don't push vorbiscomment packets on
	  the subtitle text pad. Output perfect streams if possible.

1428
1429
1430
1431
1432
1433
2006-08-23  Wim Taymans  <wim@fluendo.com>

	* tests/check/libs/cddabasesrc.c: (GST_START_TEST):
	Waits for tasks to settle down so that we clean up correctly for 
	valgrind.

1434
1435
1436
1437
1438
1439
2006-08-23  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/libs/tag.c: (GST_START_TEST), (taglists_are_equal):
	  Unit test fixes: \377 is more likely to fit into 8 bits than \777;
	  actually return return value in taglists_are_equal.

1440
1441
1442
1443
1444
1445
1446
2006-08-23  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
	  Fix crash due to broken bitstream parsing on x86-64: can't make
	  any assumptions about sizeof(struct) due to alignment/packing
	  differences on different architectures. Fixes #351790.

1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
2006-08-22  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/riff/riff-read.c: (gst_riff_read_chunk),
	(gst_riff_parse_chunk), (gst_riff_parse_file_header),
	(gst_riff_parse_strh), (gst_riff_parse_strf_vids),
	(gst_riff_parse_strf_auds), (gst_riff_parse_strf_iavs),
	(gst_riff_parse_info):
	Protect public functions against bad input.
	Do some cleanups.
	Fix documentation.

1458
1459
1460
1461
1462
1463
2006-08-22  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/riff/riff-ids.h:
	* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
	  Add voxware audio IDs (even if we can't play it) (#351795).

1464
1465
1466
1467
1468
1469
1470
1471
1472
2006-08-22  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/riff/riff-media.c:
	(gst_riff_create_video_template_caps),
	(gst_riff_create_audio_template_caps),
	(gst_riff_create_iavs_template_caps):
	  Const-ify some arrays and use G_N_ELEMENTS instead
	  of wasting oodles of RAM on terminator bits.

1473
1474
1475
1476
1477
1478
1479
1480
2006-08-22  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/tag/gstvorbistag.c:
	(gst_tag_list_to_vorbiscomment_buffer):
	* tests/check/libs/tag.c: (GST_START_TEST):
	  And the same for _to_vorbiscomment_buffer(): allow
	  id_data_len == 0 for speex.

1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
2006-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>

	* configure.ac:
	* docs/plugins/Makefile.am:
	* docs/plugins/gst-plugins-base-plugins-docs.sgml:
	* docs/plugins/gst-plugins-base-plugins-sections.txt:
	* docs/plugins/inspect/plugin-gdp.xml:
	* gst/gdp/Makefile.am:
	* tests/check/Makefile.am:
	  Move GDP plugin to -base from -bad.  Closes #347783.

1492
1493
1494
1495
1496
1497
2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/tag/gstvorbistag.c:
	(gst_tag_list_from_vorbiscomment_buffer):
	  Allow id_data_len == 0 (needed for vorbis comments in Speex files).
	  Also add some checks to make sure we don't memcmp() beyond the end of
1498
	  vorbiscomment buffer if the ID to check for is larger than the buffer.
1499
1500
1501
1502

	* tests/check/libs/tag.c: (GST_START_TEST):
	  Some more tests for gst_tag_list_from_vorbiscomment_buffer().

1503
1504
1505
1506
1507
1508
1509
2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_metadata_set1),
	(gst_vorbis_enc_set_metadata):
	  Use vorbis comment utility functions from libgsttag
	  instead of re-inventing the wheel (partially fixes #347091).

1510
1511
1512
1513
1514
1515
2006-08-21  Jan Schmidt  <thaytan@mad.scientist.com>

	* tests/check/elements/audioconvert.c: (GST_START_TEST):
	Fix leaks. Wait for state transitions that might happen ASYNC, as well
	as some that won't.

1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
2006-08-21  Wim Taymans  <wim@fluendo.com>

	* docs/libs/Makefile.am:
	* docs/libs/gst-plugins-base-libs-sections.txt:
	* docs/libs/gst-plugins-base-libs.types:
	Don't try to GObject scan the netbuffer as it's not a GObject.
	Fixes #351308.

	* gst-libs/gst/netbuffer/gstnetbuffer.c:
	* gst-libs/gst/netbuffer/gstnetbuffer.h:
	Document GstNetBuffer.

1528
1529
1530
1531
1532
1533
2006-08-21  Stefan Kost  <ensonic@users.sf.net>

	* tests/check/elements/audioconvert.c: (GST_START_TEST),
	(audioconvert_suite):
	  Add testcase for caps-size-explosion

1534
1535
1536
1537
2006-08-20  Stefan Kost  <ensonic@users.sf.net>

	* gst/audioconvert/gstaudioconvert.c:
	(gst_audio_convert_get_unit_size), (set_structure_widths):
1538
	  Lower debug, use g_assert in _get_unit_size
1539
1540
1541
1542
1543
1544
1545
1546

	* gst/audioresample/gstaudioresample.c:
	(audioresample_get_unit_size):
	* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
	(gst_ffmpegcsp_get_unit_size):
	* gst/videoscale/gstvideoscale.c: (gst_video_scale_get_unit_size):
	  use g_assert in _get_unit_size

Wim Taymans's avatar
Wim Taymans committed
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
2006-08-18  Wim Taymans  <wim@fluendo.com>

	* docs/libs/gst-plugins-base-libs-sections.txt:
	* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_set_packet_len),
	(gst_rtp_buffer_pad_to), (gst_rtp_buffer_get_payload_subbuffer),
	(gst_rtp_buffer_get_payload_buffer):
	* gst-libs/gst/rtp/gstrtpbuffer.h:
	Document GstRTPBuffer.
	Added function to efficiently strip payload headers.
	API: gst_rtp_buffer_get_payload_subbuffer()

1558
1559
1560
1561
1562
2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add),
	(gst_tag_to_vorbis_comments):
	  Serialise unknown vorbis comments into GST_TAG_EXTENDED_COMMENT
1563
	  tags and deserialise them properly as well (#347091).
1564
1565
1566
1567
1568
1569
	  Add some more gtk-doc blurbs and also some g_return_if_fail().

	* tests/check/libs/tag.c: (GST_START_TEST),
	(back_to_vorbis_comments), (taglists_are_equal), (tag_suite):
	  More tests.

1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
2006-08-17  Wim Taymans  <wim@fluendo.com>

	* ext/ogg/Makefile.am:
	* ext/ogg/gstogg.c: (plugin_init):
	* ext/ogg/gstoggaviparse.c: (gst_ogg_avi_parse_get_type),
	(gst_ogg_avi_parse_base_init), (gst_ogg_avi_parse_class_init),
	(gst_ogg_avi_parse_init), (gst_ogg_avi_parse_finalize),
	(gst_ogg_avi_parse_setcaps), (gst_ogg_avi_parse_event),
	(gst_ogg_avi_parse_push_packet), (gst_ogg_avi_parse_chain),
	(gst_ogg_avi_parse_change_state), (gst_ogg_avi_parse_plugin_init):
	Added ogg-in-avi parser element. Fixes #140139.

	* ext/ogg/gstoggmux.c: (gst_ogg_mux_buffer_from_page):
	Fixed a bug in oggdemux debug code.

	* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
	(gst_riff_create_audio_template_caps):
	Recognise Ogg in the AVI extensible wave format.

1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
	  Make buffer durations add up (duration should be next_ts-ts for
	  perfect streams). Fixes CD ripping to Ogg/Vorbis with vorbisenc
	  from CVS.

	* tests/check/libs/cddabasesrc.c: (gst_cd_foo_src_close),
	(test_buffer_timestamps), (cddabasesrc_suite):
	  Add unit test for the above.

	* tests/check/Makefile.am:
	  Don't know why cddabasesrc test was in VALGRIND_TO_FIX, remove
	  to see what happens.

1604
1605
1606
1607
1608
1609
1610
1611
1612
2006-08-16  Wim Taymans  <wim@fluendo.com>

	* ext/alsa/gstalsasink.c: (gst_alsasink_set_property),
	(gst_alsasink_open):
	* ext/alsa/gstalsasrc.c: (gst_alsasrc_set_property),
	(gst_alsasrc_open):
	Avoid setting and using a NULL device name.
	Print more info when we fail to open a device.

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

	* docs/libs/gst-plugins-base-libs-sections.txt:
	* gst-libs/gst/tag/tag.h:
	* gst-libs/gst/tag/tags.c: (gst_tag_parse_extended_comment):
	  API: add gst_tag_parse_extended_comment() (#351426).

	* tests/check/Makefile.am:
	* tests/check/libs/.cvsignore:
	* tests/check/libs/tag.c: (GST_START_TEST), (tag_suite), (main):
	  Add unit test for gst_tag_parse_extended_comment().

1625
1626
1627
1628
1629
1630
2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>

	* sys/ximage/ximagesink.c: (gst_ximagesink_get_property):
	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_property):
	  Fix leak (#351502).

Tim-Philipp Müller's avatar
Tim-Philipp Müller committed
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>

	* docs/plugins/gst-plugins-base-plugins-docs.sgml:
	* docs/plugins/gst-plugins-base-plugins-sections.txt:
	* docs/plugins/gst-plugins-base-plugins.args:
	* gst/playback/gstplaybin.c:
	  Document playbin.
	  
	* 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-gnomevfs.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:
	  Update to CVS version.

1666
1667
1668
1669
1670
1671
1672
2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
	(gst_play_bin_set_property), (gst_play_bin_get_property),
	(value_list_append_structure_list),
	(gst_play_bin_handle_redirect_message),
	(gst_play_bin_handle_message):
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
1673
	  API: GstPlayBin::connection-speed
1674
1675
1676
1677
1678
	  Add "connection-speed" property; re-order redirect messages with
	  multiple redirect locations depending on the minimum bitrate if
	  that information is available and a connection speed is set
	  (#350399).

1679
1680
1681
1682
1683
2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gstplaybin.c:
	  Update max volume to the same value that the volume element uses.

1684
1685
1686
1687
1688
2006-08-14  Wim Taymans  <wim@fluendo.com>

	* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open):
	Less uglyness..

1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
2006-08-14  Wim Taymans  <wim@fluendo.com>

	* ext/ogg/gstoggdemux.c: (gst_ogg_demux_submit_buffer),
	(gst_ogg_demux_get_next_page), (gst_ogg_demux_perform_seek),
	(gst_ogg_demux_read_chain), (gst_ogg_demux_loop):
	Add some more debug info.
	Don't crash when a seek failed.
	Actually return the result of the seek instead of TRUE.
	Ignore multiple BOS pages with the same serial so that we don't create
	the same stream multiple times.
	Post an error when we fail to do the initial seek.

1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
2006-08-13  Wim Taymans  <wim@fluendo.com>

	* ext/alsa/gstalsa.c: (gst_alsa_detect_rates),
	(gst_alsa_detect_channels), (gst_alsa_probe_supported_formats):
	Small code cleanup.

	* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open),
	(gst_alsa_mixer_new):
	Remove hack that always set the device to hw:0*.
	Properly find the card name for whatever device was configured.
	Do some better debugging.
	Fixes #350784.

	* ext/alsa/gstalsamixerelement.c:
	(gst_alsa_mixer_element_set_property),
	(gst_alsa_mixer_element_change_state):
	Cleanups.
	Handle setting of a NULL device name better.

1720
1721
1722
1723
1724
2006-08-11  Wim Taymans  <wim@fluendo.com>

	* gst/adder/gstadder.c:
	Don't clip float values. Fixes #350900.

1725
1726
2006-08-11  Andy Wingo  <wingo@pobox.com>

1727
1728
	* gst/tcp/gsttcp.c: Really fix the build?

1729
1730
1731
	* gst/tcp/gsttcp.h: For now, always disable deprecation here --
	fixes the build.

1732
1733
1734
1735
1736
2006-08-10  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/audioconvert/gstaudioconvert.c: (make_lossless_changes):
	  Float caps shouldn't have a "signed" field.

1737
1738
1739
1740
1741
1742
2006-08-10  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query):
	  Implement SEEKING query in its most basic form, so that we can
	  at least check if we're seekable or not (#350655).

1743
1744
1745
1746
1747
1748
1749
1750
1751
2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
	  The checks here are not even close to anything that would
	  justify MAXIMUM probability, lowering to POSSIBLE until someone
	  fixes the checks (case at hand: quicktime redirection files
	  might start with 00 00 01 XX and pass the checks here just
	  fine, see #350399).

1752
1753
1754
1755
1756
1757
1758
1759
1760
2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Sjoerd Simons  <sjoerd at luon net>

	* gst/typefind/gsttypefindfunctions.c: (multipart_type_find):
	  Better detection for multipart/x-mixed-replace: accept leading
	  whitespaces before the boundary marker as well (as our very own
	  multipartmux used to produce) (#349068).

1761
1762
1763
1764
1765
1766
1767
1768
1769
2006-08-07  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Young-Ho Cha  <ganadist at chollian 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):
	  Detect DTS audio streams (#350157).

1770
1771
1772
1773
1774
1775
2006-08-05  Andy Wingo  <wingo@pobox.com>

	* ext/theora/gsttheoraparse.h:
	* ext/theora/theoraparse.c (gst_theora_parse_class_init)
	(theora_parse_dispose, theora_parse_set_property)
	(theora_parse_get_property, theora_parse_munge_granulepos)
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
1776
1777
1778
	(theora_parse_push_buffer, theora_parse_change_state):
	API: GstTheoraParse::synchronization-points
	Add a property 'synchronization-points' to fix badly synchronized oggs.
1779

1780
1781
1782
1783
1784
1785
1786
1787
1788
2006-08-03  Tim-Philipp Müller  <tim at centricular dot net>

	* tests/check/Makefile.am:
	* tests/check/libs/.cvsignore:
	* tests/check/libs/audio.c: (structure_contains_channel_positions),
	(fixed_caps_have_channel_positions), (GST_START_TEST),
	(audio_suite), (main):
	  Add a few tests for the channel position stuff in libgstaudio.

1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
2006-08-03  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/alsa/gstalsa.c: (caps_add_channel_configuration),
	(gst_alsa_detect_channels):
	* ext/alsa/gstalsasink.c:
	  Add support for cards that (only) do more than 8 channels,
	  like the Delta 44 (#345188).

	* gst-libs/gst/audio/multichannel.c:
	(gst_audio_check_channel_positions):
	* gst-libs/gst/audio/multichannel.h:
	  API: add GST_AUDIO_CHANNEL_POSITION_NONE, which stands for an
	  unspecified channel position and cannot be combined with any
	  of the other audio channel positions; adjust position layout
	  checks accordingly (#345188).

1805
1806
1807
1808
1809
2006-08-03  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/typefind/gsttypefindfunctions.c: (plugin_init):
	  Recognise ancient RealAudio files (see #349779).

1810
1811
1812
1813
1814
1815
1816
2006-08-03  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Jens Granseuer  <jensgr at gmx net>

	* gst/typefind/gsttypefindfunctions.c: (plugin_init):
	  Add typefinder for Interplay's MVE format (#348973).

1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
2006-08-02  Wim Taymans  <wim@fluendo.com>

	Patch by: Marcel Moreaux <marcelm at luon dot net>

	* gst-libs/gst/rtp/gstbasertpdepayload.c:
	(gst_base_rtp_depayload_add_to_queue):
	* gst-libs/gst/rtp/gstbasertpdepayload.h:
	Handle RTP sequence number rollover.
	Disable jitterbuffer by default.

1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
2006-07-28  Jan Schmidt  <thaytan@mad.scientist.com>

	* gst/audioresample/gstaudioresample.c: (audioresample_stop),
	(audioresample_set_caps):
	Don't leak references to the incoming caps. Clean them up when
	stopping.

	* gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init),
	(gst_video_scale_finalize):
	Don't leak our temporary pixel buffer.

	* tests/check/Makefile.am:
	* tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
	(GST_START_TEST), (simple_launch_lines_suite):

	Fix leaks and re-enable the test for valgrind checking.

1844
1845
1846
1847
1848
1849
1850
1851
2006-07-28  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Sjoerd Simons  <sjoerd at luon net>

	* gst/typefind/gsttypefindfunctions.c: (multipart_type_find),
	(plugin_init):
	  Add typefind function for multipart/x-mixed-replace (#348916).

1852
1853
1854
1855
1856
1857
1858
2006-07-28  Wim Taymans  <wim@fluendo.com>

	* gst/adder/gstadder.c: (gst_adder_setcaps),
	(gst_adder_query_duration):
	Fix leak in duration query.
	Reflow some docs and notes.

1859
1860
1861
1862
1863
1864
1865
2006-07-28  Michael Smith  <msmith@fluendo.com>

	* tests/check/pipelines/vorbisenc.c: (GST_START_TEST),
	(vorbisenc_suite):
	  Enable Andy's extra vorbisenc test, now that it passes. Also fix one
	  aspect of it.

1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
2006-07-28  Michael Smith  <msmith@fluendo.com>

	* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_generate_sink_caps),
	(gst_vorbis_enc_sink_getcaps), (gst_vorbis_enc_buffer_from_packet),
	(gst_vorbis_enc_push_buffer),
	(gst_vorbis_enc_buffer_check_discontinuous),
	(gst_vorbis_enc_chain), (gst_vorbis_enc_change_state):
	* ext/vorbis/vorbisenc.h:
	  Handle discontinuities in the input vorbis stream correctly,
	  so that the output is properly timestamped (and has good granulepos
	  values). Needs some oggmux fixes too.

1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
2006-07-27  Wim Taymans  <wim@fluendo.com>

	patch by: Kai Vehmanen <kv2004 eca cx>

	* gst-libs/gst/rtp/gstbasertpdepayload.c:
	(gst_base_rtp_depayload_chain),
	(gst_base_rtp_depayload_handle_sink_event),
	(gst_base_rtp_depayload_change_state):
	Don't send multiple newsegments with different formats.
	Fixes #348677.

1889
1890
1891
1892
1893
1894
1895
2006-07-26  Wim Taymans  <wim@fluendo.com>

	* ext/ogg/gstoggdemux.c: (gst_ogg_pad_internal_chain),
	(gst_ogg_demux_do_seek), (gst_ogg_demux_read_chain):
	Make seeking in ogg more accurate again by doing the more correct
	granuletime to stream time conversion.

1896
1897
1898
1899
1900
1901
1902
1903
2006-07-26  Thomas Vander Stichele  <thomas at apestaart dot org>

	* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_add_full),
	(gst_multi_fd_sink_new_client):
	  debug a little more understandably
	  do not use goto as a substitute for break, especially if
	  break is also being used

1904
1905
1906
1907
1908
1909
2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_property):
	* gst/playback/gstplaybin.c: (gst_play_bin_get_property):
	  Remove GLib-2.6 compatibility cruft.

1910
1911
1912
1913
1914
1915
2006-07-24  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_render):
	Don't try to align a sample to an unknown value.

1916
1917
1918
1919
1920
1921
1922
2006-07-24  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_provide_clock), (gst_base_audio_sink_render):
	When the audio clock is slaved to another clock, never try to align
	samples but trust the rate interpolation algorithm.

1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
2006-07-24  Wim Taymans  <wim@fluendo.com>

	* ext/alsa/gstalsasink.c: (set_hwparams), (gst_alsasink_prepare):
	Don't try to calculate silence samples, base class does this much
	better now.

	* gst-libs/gst/audio/gstringbuffer.c: (build_linear_format),
	(gst_ring_buffer_debug_spec_caps), (gst_ring_buffer_parse_caps),
	(gst_ring_buffer_acquire):
	Calculate silence samples correctly.

	* gst-libs/gst/audio/gstringbuffer.h:
	Add _CAST macro.

1937
1938
1939
1940
1941
1942
1943
2006-07-22  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/typefind/gsttypefindfunctions.c: (xml_check_first_element):
	  Limit search for the first markup tag to the first few kB of
	  the file. If we don't find one there, it's highly unlikely that
	  this is an XML(-ish) file.

1944
1945
2006-07-21  Andy Wingo  <wingo@pobox.com>

1946
1947
1948
	* tests/check/pipelines/theoraenc.c (test_discontinuity): Similar
	test to the one in vorbisenc. Also commented out.

1949
	* tests/check/pipelines/vorbisenc.c: 
1950
1951
1952
	(test_discontinuity): New test, commented out until Mike lands
	some elite vorbisenc patches.

1953
1954
1955
1956
1957
1958
1959
	* tests/check/pipelines/theoraenc.c: Port to bufferstraw.
	Bufferstraw was actually factored out of these tests. Now we share
	code yay.

	* configure.ac (GST_MAJORMINOR): Rev core requirements to 0.10.9.1
	for bufferstraw addition to gstcheck.

1960
1961
1962
1963
1964
2006-07-21  Wim Taymans  <wim@fluendo.com>

	* ext/theora/theoradec.c: (clip_buffer):
	Better clipping.

1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
2006-07-21  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func),
	(gst_audioringbuffer_finalize), (gst_audioringbuffer_acquire),
	(gst_audioringbuffer_release), (gst_audioringbuffer_stop):
	Fix leak.
	Avoid type casting when we can.

	* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_dispose):
	Fix mem leak.

1976
1977
1978
1979
1980
1981
1982
2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/alsa/gstalsamixerelement.c:
	(gst_alsa_mixer_element_change_state):
	  Make state change fail if the specified device can't be opened
	  for some reason.

1983
1984
1985
1986
1987
1988
2006-07-20  Wim Taymans  <wim@fluendo.com>

	* gst/playback/test.c: (gen_video_element), (gen_audio_element),
	(cb_newpad), (main):
	Example of a small audio/video player using decodebin.

1989
1990
1991
2006-07-20  Stefan Kost  <ensonic@users.sf.net>

	* gst-libs/gst/riff/riff-ids.h:
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
1992
	  Add 'fact' chunk id
1993

1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2006-07-19  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/rtp/gstbasertpdepayload.c:
	(gst_base_rtp_depayload_chain),
	(gst_base_rtp_depayload_change_state):
	Don't assert when not negotiated but post a meaningfull 
	error message. Fixes #347918.

	* gst-libs/gst/rtp/gstbasertppayload.c:
	Add comment about better default MTU size.

	* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_validate_data):
	Small cleanups, start docs.

2008
2009
2010
2011
2012
2013
2014
2015
2016
2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Martin Szulecki

	* sys/v4l/gstv4lelement.c: (gst_v4lelement_get_property):
	  If "device-name" is requested and the device is not
	  open, try to temporarily open it to obtain this
	  information (#342494).

2017
2018
2019
2020
2021
2022
2023
2024
2025
2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/tag/gstid3tag.c:
	  Add TSSE <=> GST_TAG_ENCODER mapping (see #347898).

	* gst-libs/gst/tag/gsttageditingprivate.h:
	* gst-libs/gst/tag/gstvorbistag.c:
	  Some more random const-ifications.

2026
2027
2028
2029
2030
2006-07-18  Stefan Kost  <ensonic@users.sf.net>

	* gst-libs/gst/riff/riff-ids.h:
	* gst-libs/gst/riff/riff-media.c:
	(gst_riff_create_video_template_caps):
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2031
2032
2033
	  Add more FOURCCs (sort list to make stuff easier to find),
	  add comment what those 16 bytes in struct _gst_riff_strh according to
	  one avi-dumper are
2034

2035
2036
2037
2038
2039
2040
2041
2006-07-17  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/audio/multichannel.c:
	(gst_audio_check_channel_positions),
	(gst_audio_fixate_channel_positions):
	  Const-ify two arrays.

2042
2043
2044
2045
2046
2047
2006-07-17  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/alsa/gstalsa.c: (caps_add_channel_configuration):
	  Fix typo, so that alsasink also advertises 8 channels
	  if that's supported (tags: can, worms, open, alsa, ph34r).

2048
2049
2050
2051
2052
2053
2054
2055
2006-07-17  Wim Taymans  <wim@fluendo.com>

	* ext/ogg/gstoggdemux.c: (gst_ogg_pad_internal_chain),
	(gst_ogg_pad_submit_packet), (gst_ogg_demux_read_chain):
	*sigh*, when is the compiler going to warn when the comments
	are out-of-sync with the code.. Refix case of busted theora
	headers with 0 granule pos.

2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2006-07-14  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/rtp/gstbasertpdepayload.c:
	(gst_base_rtp_depayload_wait),
	(gst_base_rtp_depayload_change_state),
	(gst_base_rtp_depayload_set_property),
	(gst_base_rtp_depayload_get_property):
	Fix 99% cpu load by waiting for absolute times on the
	clock. Fixes #347300.

2066
2067
2006-07-14  Andy Wingo  <wingo@pobox.com>

2068
2069
2070
2071
2072
2073
2074
	* ext/theora/gsttheoraparse.h: 
	* ext/theora/theoraparse.c (theora_parse_drain_event_queue)
	(theora_parse_push_headers, theora_parse_clear_queue)
	(theora_parse_drain_queue_prematurely, )
	(theora_parse_sink_event, theora_parse_change_state): Queue events
	until we initialized our state, like in vorbisparse.

2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
	* ext/vorbis/vorbisparse.h: 
	* ext/vorbis/vorbisparse.c (vorbis_parse_drain_event_queue)
	(vorbis_parse_push_headers, vorbis_parse_clear_queue)
	(vorbis_parse_drain_queue_prematurely, )
	(vorbis_parse_sink_event, vorbis_parse_change_state): Queue events
	until we have initialized our state. Fixes seeking after an
	initial pad block.

2006-07-14  Andy Wingo  <wingo@pobox.com>

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2085
	Patch by: Iain Holmes <iaingnome@gmail.com>
2086
2087
2088
	
	* ext/ogg/gstoggdemux.c (gst_ogg_demux_finalize): Fix memleak.

2089
2090
2091
2092
2093
2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>

	* configure.ac:
	Bump nano back to CVS

2094
2095
2096
2097
2098
2099
2100
=== release 0.10.9 ===

2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>

	* configure.ac:
	  releasing 0.10.9, "I walk the line"

2101
2102
2103
2104
2105
2106
2107
2006-07-14  Michael Smith  <msmith@fluendo.com>

	* tests/check/pipelines/vorbisenc.c: (stop_pipeline):
	  Move a g_cond_signal to earlier to avoid sometimes deadlocking
	  (commonly happens when running this test under valgrind) when trying
	  to remove the buffer probe.

2108
2109
2110
2111
2112
2006-07-13  Jan Schmidt  <thaytan@mad.scientist.com>

	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new):
	Fix missing g_unlock from the previous commit

2113
2114
2115
2116
2117
2118
2119
2120
2121
2006-07-13  Jan Schmidt  <thaytan@mad.scientist.com>

	* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
	(gst_ximagesink_change_state):
	* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
	(gst_xvimagesink_change_state):
	Implement a locking order to ensure we always take the object lock
	before the x_lock and never vice-versa.

2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2006-07-13  Jan Schmidt  <thaytan@mad.scientist.com>

	* gst/playback/gstdecodebin.c: (find_compatibles):
	Fix a caps leak when linking (#347304)

	* sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
	(gst_ximagesink_ximage_destroy), (gst_ximagesink_xcontext_clear),
	(gst_ximagesink_change_state):
	* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
	(gst_xvimage_buffer_finalize), (gst_xvimagesink_check_xshm_calls),
	(gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_put),
	(gst_xvimagesink_xcontext_clear), (gst_xvimagesink_change_state):
	Don't leak shared memory resources. Use the object lock to protect
	against the xcontext disappearing while returning a buffer from the
	pipeline. (#347304)

2138
2139
2140
2141
2142
2143
2144
2145
2006-07-12  Edward Hervey  <edward@fluendo.com>

	* ext/vorbis/vorbisdec.c: (vorbis_dec_finalize),
	(vorbis_handle_comment_packet):
	gst_tag_list_merge() returns a new object. Take that into account when
	using it. This avoids memleak.
	Revert previous commit which is not needed.

2146
2147
2148
2149
2150
2006-07-12  Edward Hervey  <edward@fluendo.com>

	* ext/vorbis/vorbisdec.c: (vorbis_dec_finalize):
	Reset the decoder in finalize so that all fields get cleared.

2151
2152
2153
2154
2155
2156
2157
2158
2159
2006-07-12  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstbaseaudiosrc.c:
	(gst_base_audio_src_set_clock),
	(gst_base_audio_src_check_get_range), (gst_base_audio_src_create):
	Don't try to post an error message when setting the clock fails
	as this can happen when adding an element to a bin which will then
	deadlock. Fixes #347296.

2160
2161
2162
2163
2164
2165
2166
2167
2006-07-12  Edward Hervey  <edward@fluendo.com>

	* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
	(vorbis_dec_sink_event), (vorbis_handle_comment_packet),
	(vorbis_handle_type_packet):
	Post tag messages on the bus even if we're not initialized.
	If we're not initialized, we still postpone the event pushing of tags.

2168
2169
2170
2171
2172
2173
2174
2006-07-12  Wim Taymans  <wim@fluendo.com>

	* ext/alsa/gstalsasink.c: (set_hwparams), (gst_alsasink_prepare):
	* gst-libs/gst/audio/gstringbuffer.c: (build_linear_format),
	(gst_ring_buffer_debug_spec_caps), (gst_ring_buffer_parse_caps):
	Revert last two changes that broke the freeze.

2175
2176
2177
2178
2179
2006-07-12  Wim Taymans  <wim@fluendo.com>

	* ext/alsa/gstalsasink.c: (set_hwparams), (gst_alsasink_prepare):
	basesink calculates silence sample correctly for us.

2180
2181
2182
2183
2184
2185
2186
2006-07-12  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstringbuffer.c: (build_linear_format),
	(gst_ring_buffer_debug_spec_caps), (gst_ring_buffer_parse_caps):
	Calculate correct silence samples so we don't fill our ringbuffer
	with noise.

2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2006-07-12  Edward Hervey  <edward@fluendo.com>

	* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init),
	(gst_vorbis_dec_reset), (vorbis_dec_sink_event),
	(vorbis_handle_comment_packet), (vorbis_handle_type_packet):
	* ext/vorbis/vorbisdec.h:
	Delay sending events (newsegment, tags) until the decoder is properly
	initialized.
	Fixes #347295

2197
2198
2199
2200
2201
2202
2203
2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>

	* tests/check/elements/audioconvert.c: (get_float_mc_caps),
	(get_int_mc_caps), (GST_START_TEST), (audioconvert_suite):
	  Patch from #347221 adding a test for audioconvert
	  channel remappings.

2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2006-07-11  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/subparse/gstssaparse.c: (gst_ssa_parse_base_init),
	(gst_ssa_parse_parse_line):
	  Don't include the terminating NUL in the buffer size,
	  it's only there for extra paranoia (would add random
	  '*' characters at the end of each subtitle since the
	  terminator itself is not valid UTF-8 technically).
	  Also fix indenting after boilerplate macro.

2214
2215
2216
2217
2218
2219
2220
2221
2222
2006-07-10  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gstdecodebin.c: (close_pad_link):
	  Also emit 'unknown-type' signal (which should really be
	  called unhandled-type) if we found potential decoders/demuxers
	  in the registry but none of them worked in the end (as in the
	  case where the plugins don't exist any longer but are still
	  listed in the registry). Fixes #329798.

2223
2224
2225
2226
2227
2228
2229
2006-07-08  Andy Wingo  <wingo@pobox.com>

	* theoraparse.c (theora_parse_push_buffer)
	(theora_parse_drain_queue_prematurely, theora_parse_drain_queue):
	Add some more debugging. Fix granulepos reconstruction in the face
	of discontinuities.

2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2006-07-06  Wim Taymans  <wim@fluendo.com>

	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_class_init),
	(gst_base_audio_sink_provide_clock):
	Use gobject_class instead of G_OBJECT_CLASS (klass)

	* gst-libs/gst/audio/gstbaseaudiosrc.c:
	(gst_base_audio_src_class_init), (gst_base_audio_src_init),
	(gst_base_audio_src_set_clock), (gst_base_audio_src_provide_clock),
	(gst_base_audio_src_get_time),
	(gst_base_audio_src_check_get_range), (gst_base_audio_src_create),
	(gst_base_audio_src_create_ringbuffer):
	Fix latency and buffer-time constants and properties ala basesink.
	Implement pull based scheduling. Fixes #346527.
	Set default blocksize in GstBaseSrc to 0, we default to pushing out
	one segment.
	Refuse slaving to another clock instead of silently not working.
	Only provide a clock when we are actually able to do so.
	Various small cleanups and compiler hints.

2251
2252
2253
2254
2255
2256
2257
2258
2006-07-06  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Lutz Mueller <lutz at topfrose de>

	* gst/typefind/gsttypefindfunctions.c: (html_type_find),
	(plugin_init):
	  Add typefinding for text/html (#346581).

2259
2260
2261
2262
2263
2264
2265
2006-07-06  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/typefind/gsttypefindfunctions.c: (utf8_type_find),
	(xml_check_first_element), (xml_type_find), (smil_type_find):
	  Fix SMIL typefinding, make xml_check_first_element() more
	  useful.

2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2006-07-06  Tim-Philipp Müller  <tim at centricular dot net>

	* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),
	(gst_play_base_bin_finalize), (decodebin_element_added_cb),
	(decodebin_element_removed_cb), (gst_play_base_bin_set_property):
	* gst/playback/gstplaybasebin.h:
	  Protect list of elements with a subtitle-encoding property and
	  the subtitle encoding member itself with a lock of their own
	  instead of using the object lock. This prevents a dead-lock in
	  the element-remove callback in some circumstances when shutting
	  down playbin.

2278
2279
2280
2281
2282
2283
2284
2006-07-05  Sebastien Moutte  <sebastien@moutte.net>

	* win32/common/libgsttag.def:
	Export some new functions.
	* win32/vs6/libgstogg.dsp:
	Add a link to libgsttag-0.10.lib.

2285
2286
2287
2288
2289
2006-07-04  Tim-Philipp Müller  <tim at centricular dot net>

	* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
	  Some const-ification.

2290
2291
2292
2293
2294
2295
2006-07-04  Wim Taymans  <wim@fluendo.com>

	* gst/playback/gstplaybasebin.c: (is_stream), (gen_source_element):
	Improve checking if we are dealing with a stream. Added some
	more uris that need buffering.

2296
2297
2298
2299
2300
2006-07-03  Edward Hervey  <edward@fluendo.com>

	* ext/vorbis/vorbisdec.c: (vorbis_do_clip):
	Remove unused variable.

2301
2302
2303
2304
2305
2306
2307
2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>

	* Makefile.am:
	  include lcov.mak
	* configure.ac:
	  add GCOV_LIBS to GST_LIBS

2308
2309
2310
2311
2312
2313
2314
2315
2006-07-02  Tim-Philipp Müller  <tim at centricular dot net>

	Patch by: Michael Sheldon  <webmaster at mikeasoft com>

	* ext/alsa/gstalsasrc.c:
	  Add 32 bps to template caps and increase channels range
	  from [1,2] to [1,MAX]. See #346326.

2316
2317
2318
2319
2320
2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>

	* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
	  Recognise 'WMVA' video codec fourcc (#345879).
	  
2321
2322
2323
2324
2325
2006-06-29 Philippe Kalaf <philippe.kalaf@collabora.co.uk> 	 
	 
	* gst-libs/gst/rtp/gstbasertpaudiopayload.c: 	 
	  Fixed nasty memory leak

2326
2327
2328
2329
2330
2331
2006-06-26  Thomas Vander Stichele  <thomas at apestaart dot org>

	* gst/tcp/gsttcp.c: (gst_tcp_read_buffer),
	(gst_tcp_gdp_read_buffer), (gst_tcp_gdp_read_caps):
	  fix logging

2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2006-06-23  Jan Schmidt  <thaytan@mad.scientist.com>

	* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
	(gst_decode_bin_init), (gst_decode_bin_finalize), (add_fakesink),
	(remove_fakesink), (pad_probe), (gst_decode_bin_change_state):
	Protect remove_fakesink using a mutex, so that we don't try and
	remove the fakesink simultaneously from multiple threads.

	When going from READY to PAUSED, restore the fakesink, so that
	it is there when decodebin gets reused.

2343
2344
2345