ChangeLog 143 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
2008-09-04  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
	(gst_ffmpegdec_chain):
	If we have a parser and we did not consume any of the bytes of a new
	buffer, make sure we submit the buffer again with its original timestamp
	instead of a -1 timestamp. Fixes various h264 cases with reordered
	frames.
	If we have a discont and a timestamp but the first buffer after the
	discont did not produce any data, make sure we set the timestamp on the
	next buffer instead. Fixes initial timestamp on realaudio in many cases.

13 14 15 16 17 18 19
2008-09-04  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c: (nal_escape), (copy_config),
	(gst_ffmpeg_caps_with_codecid):
	Escape the codec_data for h264 before we put it in the extra_data
	because ffmpeg expects it escaped.

20 21 22 23 24
2008-09-04  Edward Hervey  <edward.hervey@collabora.co.uk>

	* configure.ac:
	And back to development we go...

25 26 27 28 29 30 31 32 33
=== release 0.10.5 ===

2008-09-03  Edward Hervey  <edward.hervey@collabora.co.uk>

	* NEWS:
	* RELEASE:
	* configure.ac:
	  releasing 0.10.5, "This little piggy went to market"

34 35 36 37 38 39
2008-09-03  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
	Give the TrueSpeech audio codec a proper caps. This is now synchronized
	with libriff in -base cvs.

40 41 42 43 44
2008-08-31  Edward Hervey  <edward.hervey@collabora.co.uk>

	* configure.ac:
	0.10.4.3 pre-release

45 46 47 48 49 50 51
2008-08-31  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ffmpegrev:
	Adjust time of swscale checkout to ffmpeg revision being used.
	* gst-libs/ext/Makefile.am:
	Fix make distcheck

52 53 54 55 56 57 58
2008-08-29  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_finalize),
	(gst_ffmpegdec_get_buffer), (gst_ffmpegdec_frame):
	Finalizing a decoder that was never used shouldn't trigger an assertion.
	Add debug messages for the two other g_assert_if_reached().

59 60 61 62 63 64 65 66
2008-08-29  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_aud_caps_new):
	Instead of marking all audio decoders/encoders as accepting up to 6
	channels, we white-list those for which we are sure they can handle
	those 6 channels.
	Fixes #549799

67 68 69 70 71 72
2008-08-28  Michael Smith <msmith@songbirdnest.com>

	* ext/ffmpeg/gstffmpegdemux.c:
	  gst_pad_template_new() takes ownership of caps; ref them beforehand
	  since we want to keep using them afterwards.

73 74 75 76 77 78
2008-08-28  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_aud_caps_new):
	ffmpeg audio decoders can now do up to 6 channels... and actually
	expose it properly. Don't expect any channel mapping though.

79 80 81 82 83 84 85 86 87
2008-08-28  Edward Hervey  <edward.hervey@collabora.co.uk>

	* configure.ac:
	Slim down the build of 'prefered' ffmpeg snapshot to disable compilation
	of things we don't need.
	* ffmpegrev:
	Update our 'prefered' ffmpeg snapshot to rev 15004. This has the fix for a nasty
	wma2 decoding regression.

88 89 90 91 92
2008-08-18  Thijs Vermeir  <thijsvermeir@gmail.com>

	* configure.ac:
	Check if bz2 is installed (#548304)

93 94 95 96 97 98 99 100 101
2008-08-12  Jan Schmidt  <jan.schmidt@sun.com>

	* configure.ac:
	0.10.4.2 pre-release.

	* docs/Makefile.am:
	Disable recursion into the plugins docs directory - there's no
	docs in there anyway, and it breaks distcheck.

102 103 104 105 106 107 108
2008-08-01  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_fill_context):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
	Latest ffmpeg revision's avcodec_close frees more; use safer coding to
	prevent double free and other related segfaults.

109 110 111 112 113 114 115 116 117 118
2008-07-28  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
	Recognize video/x-raw-gray and map to proper pixfmt.
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps),
	(gst_ffmpegenc_chain_video):
	Fail negotiation if pixfmt cannot be determined from input caps.
	Prevent segfault accessing non-existant coded_frame, provide some
	warning debug output instead.

119 120 121 122 123 124
2008-07-23  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ffmpegrev:
	Updating to today's ffmpeg upstream revision, mostly to fix a security
	issue.

125 126 127 128 129
2008-07-11  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
	Prevent likely segfault on EMPTY provided caps.

130 131 132 133 134 135 136 137
2008-07-06  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>

	Based on a patch by: Aurelien Grimaud <gstelzz at yahoo dot fr>

	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
	Properly convert buffer duration to an ffmpeg packet duration.
	Fixes #371939.

138 139 140 141 142 143 144 145 146 147
2008-07-01  Jan Schmidt  <jan.schmidt@sun.com>

	* ext/ffmpeg/gstffmpegdec.c:
	If ffmpeg reports 0 bytes of input data consumed, don't break out
	unless it also didn't produce any output. Fixes the audio in #377400
	and doesn't break anything else I've tested.

	Enable the mp3 parser, and set mp3 and mpeg2-video decoding autoplug
	at marginal level, as they seem to both work fine now.

148 149 150 151 152 153
2008-06-13  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c:
	(gst_ffmpeg_formatid_get_codecids):
	MP4 does not allow H263 and AMR.

154 155 156 157 158 159 160 161 162 163 164 165 166
2008-06-13  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_get_codecid_longname):
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
	(gst_ffmpegdec_register):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
	(gst_ffmpegenc_register):
	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
	FFMpeg now provides proper long_name for AVCodec, remove our
	internal mapping and directly use upstream naming.
	Improve debugging messages.
	Remove g_warning() which isn't really needed.
167
	Add mapping for new codecs (MPC8, DNXHD, MIMIC, VMNC)
168

169 170 171 172 173 174 175
2008-06-13  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/Makefile.am:
	* ffmpegrev:
	Bump upstream ffmpeg revision to todays (rev 13766).
	ffmpeg now requires libbz2.

176 177 178 179 180 181
2008-05-26  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	Set flv demuxer to rank NONE, we have a better, working demuxer in -bad
	and we don't want any bug reports about this one. Fixes #534783.

182 183 184 185 186 187 188 189 190 191 192
2008-05-26  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_vid_caps_new),
	(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_with_codecid):
	Add more specific width/height for DV video so that it negotiates more
	automatically.
	Try to avoid accessing NULL caps.

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
	Add some more debuggin to the caps generation.

193 194 195 196 197
2008-05-26  Sebastian Dröge  <slomo@circular-chaos.org>

	* Makefile.am:
	Dist autogen.sh. Fixes bug #534371.

198 199 200 201 202 203
2008-05-26  Sebastian Dröge  <slomo@circular-chaos.org>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
	Explicitely disable the AAC decoders as they don't work very well
	and we have better alternatives. Fixes bug #534392.

204 205 206 207 208 209 210 211 212 213 214 215 216 217
2008-05-26  Sebastian Dröge  <slomo@circular-chaos.org>

	Patch by:
	    Hans de Goede <j dot w dot r degoede at hhs dot nl>

	* configure.ac:
	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
	* ext/ffmpeg/gstffmpegcodecmap.h:
	* ext/ffmpeg/gstffmpegdec.c: (get_output_buffer):
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
	Use av_picture_copy() instead of libswscale to copy pictures. This
	removes the swscale dependency and is faster. Fixes bug #534390.

218 219 220 221 222 223 224
2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find),
	  (gst_ffmpegdemux_register):
	  Explicitly disable 'raw' mpeg-ts typefinder as well; better debug logging
	  for the gst-ffmpeg typefinders. (#533708).

225 226 227 228 229 230 231 232
2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_query_list),
	  (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_get_stream),
	  (gst_ffmpegdemux_open):
	  Implement SEEKING query, so players such as totem can query
	  seekability. Fix a comment typo or two.

233 234 235 236 237
2008-05-25  Jan Schmidt  <jan.schmidt@sun.com>

	* configure.ac:
	Back to development -> 0.10.4.1

Jan Schmidt's avatar
Jan Schmidt committed
238 239 240 241 242 243 244
=== release 0.10.4 ===

2008-05-21  Jan Schmidt <jan.schmidt@sun.com>

	* configure.ac:
	  releasing 0.10.4, "A jump to the left"

245 246 247 248 249
2008-05-20  Jan Schmidt  <jan.schmidt@sun.com>

	* configure.ac:
	0.10.3.3 pre-release

250 251 252 253 254 255 256 257
2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>

	* configure.ac:
	* ext/ffmpeg/gstffmpegcodecmap.c:
	* ext/ffmpeg/gstffmpegdemux.c:
	* ext/libpostproc/gstpostproc.c:
	Fix build with (Debian's) system ffmpeg. Fixes bug #532803.

258 259 260 261 262
2008-05-13  Edward Hervey  <edward.hervey@collabora.co.uk>

	* configure.ac:
	0.10.3.2 pre-release

Edward Hervey's avatar
Edward Hervey committed
263 264 265 266 267 268 269 270 271
2008-05-13  Edward Hervey  <edward.hervey@collabora.co.uk>

	* docs/plugins/gst-ffmpeg-plugins.args:
	* docs/plugins/gst-ffmpeg-plugins.hierarchy:
	* docs/plugins/gst-ffmpeg-plugins.interfaces:
	* docs/plugins/gst-ffmpeg-plugins.prerequisites:
	* docs/plugins/inspect/plugin-ffmpeg.xml:
	Update docs

272 273 274 275 276
2008-05-12  Edward Hervey  <edward.hervey@collabora.co.uk>

	* gst-libs/ext/Makefile.am:
	More fixes for make dist

277 278 279 280 281
2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ffmpegrev:
	Update to today's upstream ffmpeg. No visible regressions.

Edward Hervey's avatar
Edward Hervey committed
282 283 284 285 286 287
2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>

	* configure.ac:
	* gst-libs/ext/Makefile.am:
	More fixes for make dist.

288 289 290 291 292 293
2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_img_convert):
	Replace usage of img_convert (deprecated) by sws_scale.
	Fixes #529015

294 295 296 297 298
2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>

	* configure.ac:
	Fix doc-building and make dist.

299 300 301 302 303
2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>

	* gst-libs/ext/Makefile.am:
	Don't copy file which is no longer present.

304 305 306 307 308 309 310 311 312 313 314 315
2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegaudioresample.c:
	(gst_ffmpegaudioresample_class_init),
	(gst_ffmpegaudioresample_init),
	(gst_ffmpegaudioresample_transform_caps),
	(gst_ffmpegaudioresample_transform_size),
	(gst_ffmpegaudioresample_get_unit_size),
	(gst_ffmpegaudioresample_set_caps),
	(gst_ffmpegaudioresample_transform):
	small gst-indent run.

316 317 318 319 320 321
2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>

	* gst-libs/ext/Makefile.am:
	Use 'make clean' and not 'make dist-clean' for local cleanups.
	Fixes #519235

322 323 324 325 326 327 328 329
2008-05-07  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
	(gst_ffmpegdec_register):
	Previous commit in fact broke playback for standard wmv3.
	Instead make both ffdec_vc1 and ffdec_wmv3 accept any wmv3 variant and
	figure out the proper codecid when opening the ffmpeg decoder.

330 331 332 333 334 335 336 337
2008-05-07  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
	(gst_ffmpegdec_video_frame), (gst_ffmpegdec_register):
	Bump the priority of VC1 decoder so that it goes before the WMV3
	decoder. This allows proper auto-pluggin with decodebin/playbin.
	Fixes #531857

338 339 340 341 342 343 344
2008-05-06  Edward Hervey  <edward.hervey@collabora.co.uk>

	Patch by: Gabriel Bouvigne  <bouvigne at mp3-tech dot org>
	* ext/libpostproc/gstpostproc.c:
	Support for non-I420 colorspaces in postproc
	Fixes #496127

345 346 347 348 349
2008-04-21  Edward Hervey  <edward@collabora.co.uk>

	Patch by: Dejan Sakelšak <sakdean at gmail dot com>
	* autogen.sh:
	Check for Subversion presence.
350
	Fixes #511011
351

352
2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
353 354 355 356 357 358 359 360

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_caps_to_codecid),
	(gst_ffmpeg_get_codecid_longname):
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	Add support for MusePack StreamVersion 7 and disable the StreamVersion
	8 typefinder. Fixes bug #510745.

361
2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
362 363 364 365 366 367 368

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_to_caps),
	(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	Add support for Monkey's Audio (APE). Fixes bug #518033.

369 370 371 372
2008-04-15  Andy Wingo  <wingo@pobox.com>

	* ext/libpostproc/gstpostproc.c (gst_post_proc_transform_ip): Fix
	some mistyping when calling pp_postprocess.
373
	(gst_post_proc_transform_ip): Revert my patch, it was the badness.
374

375 376 377 378 379 380 381 382 383
2008-04-14  Andy Wingo  <wingo@pobox.com>

	* autogen.sh:
	* ffmpegrev (FFMPEG_EXTERNALS_UPDATE): Because ffmpeg checks out
	libswscale via an svn:externals, checking out an old ffmpeg does
	not check out a corresponding libswscale. Keep the swscale
	checkout manually synchronized, then. Update this when you update
	FFMPEG_REVISION.

384
2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
385 386 387 388 389 390 391

        Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>

        * configure.ac:
        Actually build dlls when cross-compiling with mingw32.
        Fixes bug #526247.

392 393 394 395 396 397 398
2008-04-03  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ffmpegrev: Bump upstream ffmpeg revision to todays
	* configure.ac: Fix configure for build modification in upstream
	* ext/libpostproc/gstpostproc.c: (gst_post_proc_transform_ip):
	Fix build for modifications in upstream

399 400 401 402 403
2008-03-18  Andy Wingo  <wingo@pobox.com>

	* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Only drain
	if we've already set up a codec.

404 405 406 407 408 409 410 411 412 413
2008-03-17  Andy Wingo  <wingo@pobox.com>

	* ext/ffmpeg/Makefile.am (libgstffmpeg_la_LIBADD): Re-add -lz
	explicitly here.

	* configure.ac: Remove -lz from FFMPEG_LIBS, because FFMPEG_LIBS
	are used in the Makefile.am as a DEPENDENCIES target, and -lz is
	not a target. Also in a blahriffic turn of events, MMX and Altivec
	code on MacOS 10.5 produces non-PIC code. Turn them off on macos.

414 415 416 417 418 419 420
2008-03-11  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
	When we receive a newsegment event, we must drain any pending frames
	because they belong to the previous segment. This fixes some cases of
	very large timestamps when doing segment seeks.

421 422 423 424 425 426 427
2008-03-06  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
	(get_output_buffer), (gst_ffmpegdec_video_frame),
	(gst_ffmpegdec_chain):
	Work around an ffmpeg bug where it always returns 0 timestamps.

428 429 430 431 432 433 434
2008-03-06  Michael Smith <msmith@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps):
	  Fix masks for RGBA32 caps. Fixes colours when decoding using
	  ffdec_qtrle. Follows an identical fix in the ffmpegcolorspace copy of
	  this code (revision 1.29).

435 436 437 438 439 440 441 442 443 444
2008-03-05  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
	(gst_ffmpegdec_setcaps), (check_keyframe),
	(gst_ffmpegdec_video_frame), (gst_ffmpegdec_sink_event),
	(gst_ffmpegdec_set_property):
	Detect DTS or PTS as timestamps. This is done by tracking frame
	reordering on the output and making sure that timestamps don't go
	backwards. Fixes #482660.

445 446 447 448 449 450 451 452 453 454
2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>

	Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
	(gst_ffmpegdec_init), (gst_ffmpegdec_setcaps),
	(gst_ffmpegdec_set_property), (gst_ffmpegdec_get_property):
	Add property for controlling of motion vectors. Fixes #515811.
	API: GstFFMpegDec::debug-mv

455 456 457 458 459 460
2008-02-08  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
	Don't try handling a buffer if downstream allocation failed.
	Avoids crashes and Fixes #515205

461 462 463 464 465 466 467 468
2008-01-29  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
	Don't blindly copy input timestamp to output timestamp but prefer the
	one attached to the picture when we can.
	Add new variables for the output timestamp and duration to make the code
	a little more clear.

469
2008-01-26  Sebastian Dröge  <slomo@circular-chaos.org>
470 471 472 473 474

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
	Initialize hurry_up to 0 to fix "might be used uninitialized"
	compiler warning.

475 476 477 478 479 480 481 482 483
2008-01-25  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
	(gst_ffmpegdec_setcaps), (gst_ffmpegdec_video_frame):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
	When doing QoS, don't drop the frame before decoding because we might
	drop an important reference frame, just make the decoder hurry_up on
	this frame.

484 485 486 487 488 489
2008-01-25  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c:
	(gst_ffmpeg_formatid_get_codecids):
	Add H263+ to valid 3GP muxing formats. Fixes #511476.

490 491 492 493 494 495 496 497 498
2008-01-23  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
	(gst_ffmpegdec_init), (get_output_buffer), (gst_ffmpegdec_chain),
	(gst_ffmpegdec_change_state), (gst_ffmpegdec_set_property),
	(gst_ffmpegdec_get_property):
	Add padding to input data before feeding it to ffmpeg. Also add option
	to disable this (although it does not seem to cause slowdown).

499 500 501 502 503 504 505 506 507 508 509
2008-01-23  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
	(alloc_output_buffer), (gst_ffmpegdec_get_buffer),
	(gst_ffmpegdec_release_buffer), (gst_ffmpegdec_negotiate),
	(get_output_buffer):
	Change the pad_alloc calculations for weird clipped sizes, refactor the
	code a bit.
	Add support for some different refcounting algorithm. 
	Direct rendering still disabled by default.

510 511 512 513 514 515 516 517
2008-01-22  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init):
	Disable direct-rendering by default until buffer allocation works
	correctly.
	Rename the alias of the direct rendering property from 'direct' to
	'direct-rendering'.

518 519 520 521 522 523
2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
	(gst_ffmpegdec_get_buffer):
	Disable direct rendering for h264 since it does not always work.

524 525 526 527 528 529
2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_set_property),
	(gst_ffmpegdec_get_property):
	Implement get/set for the new property too.

530 531 532 533 534 535 536 537 538 539 540 541 542 543
2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
	(gst_ffmpegdec_init), (gst_ffmpegdec_close), (gst_ffmpegdec_open),
	(gst_ffmpegdec_setcaps), (gst_ffmpegdec_get_buffer),
	(gst_ffmpegdec_release_buffer), (get_output_buffer),
	(gst_ffmpegdec_video_frame), (gst_ffmpegdec_audio_frame),
	(gst_ffmpegdec_frame), (gst_ffmpegdec_change_state),
	(gst_ffmpegdec_set_property), (gst_ffmpegdec_get_property):
	Reenable pad_alloc, seem to work now.
	Added property to easily disable it later on.
	Remove some old code that tried hard to break the get_buffer
	functions. Fixes #321662.

544 545 546 547 548 549
2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
	Add h263 to the list of codecs using the mpeg flags and options.
	Add some more H263 specific flags. Fixes #421068.

550
2008-01-22  Sebastian Dröge  <slomo@circular-chaos.org>
551 552 553 554 555

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	Don't register typefinders for which we have better replacements
	in base. Fixes bug #510985.

556 557 558 559 560 561 562
2008-01-21  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
	(gst_ffmpegdec_chain):
	Remove some more overly clever code that does nothing but mess up
	timestamps.

563 564 565 566 567 568
2008-01-18  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_drain),
	(gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
	Flush delayed frames on DISCONT if we have them.

569 570 571 572 573 574 575
2008-01-18  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
	(gst_ffmpegdec_chain):
	Flush on DISCONT because ffmpeg does not reliably tell us about
	keyframes.

576 577 578 579 580 581 582 583 584
2008-01-18  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
	(gst_ffmpegdec_open), (gst_ffmpegdec_get_buffer),
	(gst_ffmpegdec_release_buffer), (gst_ffmpegdec_video_frame),
	(gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
	Rewrite timestamping code to let ffmpeg track timestamps.
	Fixes #482660, #337866.

585 586 587 588 589 590 591
2008-01-16  Wim Taymans  <wim.taymans@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdec.c: (clear_queued), (flush_queued),
	(gst_ffmpegdec_video_frame), (gst_ffmpegdec_frame),
	(gst_ffmpegdec_sink_event), (gst_ffmpegdec_change_state):
	Add basic reverse playback for video.

592
2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
593 594 595 596 597 598 599 600 601 602

	* autogen.sh:
	  Add -Wno-portability to the automake parameters to stop warnings
	  about GNU make extensions being used. We require GNU make in almost
	  every Makefile anyway.
	  
	* configure.ac:
	  Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
	  at the same time is required for per target flags.

603 604 605 606 607
2008-01-09  Edward Hervey  <edward.hervey@collabora.co.uk>

	* configure.ac:
	postproc needs some headers present in libavcodec/*.h

608 609 610 611 612
2008-01-09  Stefan Kost  <ensonic@users.sf.net>

	* gst-libs/ext/Makefile.am:
	  Remove trailing whitespace as warned by automake.

613
2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
614 615 616 617 618 619 620 621 622 623 624 625 626

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	Don't register the WavPack demuxer and decoder. They don't work,
	we have better ones and the output of the demuxer/input of the
	decoder is in a different format than what audio/x-wavpack of the
	wavpack plugin is (it seems that the demuxer strips of the wavpack
	headers from every frame).

	This fixes typefinding of Wavpack files again, as the ffmpeg
	typefinder was preffered for some reason and gave
	application/x-gst_ff-wv instead of audio/x-wavpack.

627 628 629 630 631 632
2007-12-18  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
	Fix demuxer to stop properly (emit an error message on the bus) if no
	pads are linked. Use aggregated flow return values a bit more.

633
2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
634 635 636 637 638

	* Makefile.am:
	  Include common/win32.mak for CRLF check of win32 project
	  files (see #393626).

639
2007-12-17  Sebastian Dröge  <slomo@circular-chaos.org>
640 641 642 643 644 645 646 647 648 649 650

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_formatid_get_codecids),
	(gst_ffmpeg_get_codecid_longname):
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop),
	(gst_ffmpegdemux_register):
	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected),
	(gst_ffmpegmux_register):
	Add GIF (animations and single images) decoding and encoding support.
	Fixes #503249.

651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674
2007-12-17  Edward Hervey  <edward.hervey@collabora.co.uk>

	* configure.ac:
	Minor typo in disabling cavs decoder. Now compiles AND works on x86 32
	and 64 bits ! Time to merge :)

2007-12-17  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_to_codecid):
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open):
	Handle VC-1 properly , which is handled differently from WMV3.

2007-12-17  Edward Hervey  <edward.hervey@collabora.co.uk>

	* autogen.sh:
	Fix call to ffmpegrev
	* configure.ac:
	Re-apply -fPIC extra-cflag for ffmpeg while removing support for the
	flac encoder which is currently broken for x86/32bits with -fPIC.
	* ffmpegrev:
	Switch to latest upstream revision so we can have the split-up for
	flac mmx optimizations.

675
2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
676 677 678 679 680 681 682 683 684

	Based on a patch by:
	    Hans de Goede <j dot w dot r degoede at hhs dot nl>

	* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_pre_me_get_type),
	  (gst_ffmpeg_pred_method_get_type):
	  NULL-terminate the GEnumValue arrays, otherwise they will cause
	  crashes. Fixes #503733.

685
2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737

	* configure.ac:
	  Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

2007-11-28  Edward Hervey  <bilboed@bilboed.com>

	* configure.ac:
	Temporarily remove fPIC option for building ffmpeg
	* ffmpegrev:
	Switch to latest ffmpeg checkout so people can enjoy all the niceties
	that have just landed (mmx optimisations for vc1 and h263, bugfixes,..)
	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected),
	(gst_ffmpegmux_change_state):
	Adjust code to ffmpeg API changes.

2007-11-22  Edward Hervey  <bilboed@bilboed.com>

	* ext/ffmpeg/gstffmpegaudioresample.c:
	(gst_ffmpegaudioresample_get_unit_size),
	(gst_ffmpegaudioresample_transform):
	Correct the output size of the buffer.

2007-11-15  Edward Hervey  <bilboed@bilboed.com>

	* ext/ffmpeg/Makefile.am:
	* ext/ffmpeg/gstffmpeg.c: (plugin_init):
	* ext/ffmpeg/gstffmpeg.h:
	* ext/ffmpeg/gstffmpegaudioresample.c:
	(gst_ffmpegaudioresample_base_init),
	(gst_ffmpegaudioresample_class_init),
	(gst_ffmpegaudioresample_init), (gst_ffmpegaudioresample_finalize),
	(gst_ffmpegaudioresample_transform_caps),
	(gst_ffmpegaudioresample_transform_size),
	(gst_ffmpegaudioresample_get_unit_size),
	(gst_ffmpegaudioresample_set_caps),
	(gst_ffmpegaudioresample_transform),
	(gst_ffmpegaudioresample_register):
	Added new ffaudioresample element using the ffmpeg resampling code.
	It's (way) faster than audioresample, doesn't introduce latency, but
	might cause a little bit of 'clicking'.

2007-11-15  Edward Hervey  <bilboed@bilboed.com>

	* Makefile.am:
	* autogen.sh:
	* configure.ac:
	* ext/ffmpeg/Makefile.am:
	* ffmpegrev:
	* gst-libs/ext/Makefile.am:
	Initial patch of the new mirror-less build-system for gst-ffmpeg using
	specific revisions of ffmpeg svn instead.
	Might still have some issues, we need people to try this.
738
	Help by : Dejan Sakelšak  <sakdean at gmail dot com>
739 740 741 742 743 744 745 746 747 748 749 750 751
	* ext/ffmpeg/gstffmpeg.c: (plugin_init):
	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
	(gst_ffmpeg_get_codecid_longname):
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
	(gst_ffmpegdec_get_buffer), (gst_ffmpegdec_audio_frame),
	(gst_ffmpegdec_register):
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
	(gst_ffmpegdemux_register):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
	Update code for new ffmpeg API.

752 753 754 755 756
2007-12-04  Edward Hervey  <bilboed@bilboed.com>

	* configure.ac:
	And back to development cycle.

Edward Hervey's avatar
Edward Hervey committed
757 758 759 760 761 762 763 764 765
=== release 0.10.3 ===

2007-12-04  Edward Hervey  <bilboed@bilboed.com>

	* configure.ac:
	* NEWS:
	* RELEASE:
	  releasing 0.10.3, "My T-Shirt is slowly fading"

766 767 768 769 770
2007-11-28  Edward Hervey  <bilboed@bilboed.com>

	* configure.ac:
	0.10.2.2 pre-release

Ole Andre Vadla Ravnaas's avatar
Ole Andre Vadla Ravnaas committed
771 772
2007-11-08  Edward Hervey  <bilboed@bilboed.com>

773
	Patch by: Ole André Vadla Ravnås <ole dot andre dot ravnas at tandberg dot com>
Ole Andre Vadla Ravnaas's avatar
Ole Andre Vadla Ravnaas committed
774 775 776 777

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_init):

778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802
2007-11-03  Edward Hervey  <bilboed@bilboed.com>

	* ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_avcodec_open),
	(gst_ffmpeg_avcodec_close), (gst_ffmpeg_av_find_stream_info),
	(gst_ffmpeg_log_callback), (plugin_init):
	* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_mb_decision_get_type),
	(gst_ffmpeg_flags_get_type), (gst_ffmpeg_cfg_init),
	(gst_ffmpeg_cfg_codec_has_pspec),
	(gst_ffmpeg_cfg_install_property), (gst_ffmpeg_cfg_set_property),
	(gst_ffmpeg_cfg_get_property), (gst_ffmpeg_cfg_set_defaults),
	(gst_ffmpeg_cfg_fill_context), (gst_ffmpeg_cfg_finalize):
	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
	(gst_ffmpegdec_setcaps), (gst_ffmpegdec_save_incoming_values),
	(gst_ffmpegdec_get_best_values), (gst_ffmpegdec_video_frame):
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
	(gst_ffmpegdemux_src_query):
	* ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
	(gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers):
	* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
	(gst_ffmpegdata_peek), (gst_ffmpegdata_read),
	(gst_ffmpegdata_write), (gst_ffmpegdata_seek),
	(gst_ffmpegdata_close):
	gst-indent cleanup.

803
2007-10-12  Tim-Philipp Müller  <tim at centricular dot net>
804 805 806 807 808

	* configure.ac:
	  Add big fat warning message with explanation when building
	  against an external copy of ffmpeg. Fixes #407779.

809 810 811 812 813 814 815
2007-10-10  Wim Taymans  <wim.taymans@gmail.com>

	Patch by: Tuomas Kulve <tuomas dot kulve at movial dot fi>

	* ext/ffmpeg/gstffmpegdec.c:
	Fix the return type of the setcaps function. Fixes #485033.

816 817 818 819 820 821 822 823
2007-10-05  Wim Taymans  <wim.taymans@gmail.com>

	Patch by: Yann Gilquin <yann dot gilquin at purplelabs dot com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event):
	Don't return FALSE for the LATENCY event but instead forward it
	upstream. Fixes #482946.

824 825 826 827 828
2007-10-03  Stefan Kost  <ensonic@users.sf.net>

	* tests/check/generic/libavcodec-locking.c:
	  Print message name and not just number.

829 830 831 832 833 834 835 836 837 838 839
2007-10-01  Wim Taymans  <wim.taymans@gmail.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_get_codecid_longname):
	Add Real Video 3.0 and remove some bogus caps.

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
	(gst_ffmpegdec_video_frame):
	When skipping because of QoS, pretend we consumed all bytes for the
	frame so that the pcache's timestamp is updated correctly.

840 841 842 843 844 845 846 847
2007-08-14  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
	Don't set rank of sp5x video decoder to NONE.
	Fixes #466221
	Re-order the cases of the switch statement so that the default case
	is last.

848 849 850 851 852 853 854 855 856 857 858 859 860
2007-08-07  Wim Taymans  <wim.taymans@gmail.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
	Improve debugging of codec data.
	realvideo caps are underspecified, use fields of alternative variant
	before we settle this.

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
	(gst_ffmpegdec_video_frame):
	Add more debugging of used parsers.
	Setup the realvideo slices correctly before calling the decoder, fixed
	realvideo in matroska.

861 862 863 864 865 866 867 868 869 870 871 872 873 874
2007-08-01  Stefan Kost  <ensonic@users.sf.net>

	* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_install_property),
	(gst_ffmpeg_cfg_finalize):
	* ext/ffmpeg/gstffmpegcfg.h:
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_finalize),
	(ffmpegenc_setup_working_buf), (gst_ffmpegenc_chain_video),
	(gst_ffmpegenc_flush_buffers):
	  Free strings atleast when finalizing elements.
	
	* tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
	(simple_launch_lines_suite):
	  Fix some leaks.

875 876 877 878 879 880
2007-08-01  Stefan Kost  <ensonic@users.sf.net>

	* configure.ac:
	* ext/ffmpeg/Makefile.am:
	  Check for libm and link against it (ffmpeg is using sqrt).

881 882 883 884 885 886 887 888
2007-07-25  Julien MOUTTE  <julien@moutte.net>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop): Handle
	buffers with invalid duration correctly even in the case where
	we have a demuxer AND a decoder from ffmpeg linked.
	Fixes: #460274.

889 890 891 892 893 894 895 896 897
2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>

	* configure.ac:
	* tests/Makefile.am:
	Remove bogus check for libcheck, since we check for
	gstreamer-check and it pulls in the required info from there, and we
	weren't actually _using_ the information for libcheck ourselves
	anyway.

898 899 900 901 902 903 904 905 906 907
2007-07-12  Stefan Kost  <ensonic@users.sf.net>

	* configure.ac:
	  Use pkg-config to locate check. Bump core requirement.

	* ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_chain):
	* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform):
	  Replace deprecated method.
	  

908 909 910 911 912 913 914 915
2007-07-05  Jan Schmidt  <thaytan@mad.scientist.com>

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video),
	(gst_ffmpegenc_flush_buffers):
	Fix the encoders by actually copying the encoded output data from the
	working area into the output buffer.
	Fixes: #453135.

916 917 918 919 920 921 922 923 924 925 926 927 928
2007-06-22  Jan Schmidt  <thaytan@mad.scientist.com>

	* ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
	(gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers),
	(gst_ffmpegenc_change_state):
	* ext/ffmpeg/gstffmpegenc.h:
	Instead of allocating 512KB buffers and then setting BUFFER_SIZE
	to what ffmpeg produced, we're better off by far to use a single
	working buffer and copy data out into neat little buffers.

	This prevents exhorbitant virtual memory wastage in the form
	of allocated but untouched buffers.

929 930 931 932 933 934
2007-06-20  Stefan Kost  <ensonic@users.sf.net>

	* ext/ffmpeg/gstffmpegcodecmap.c:
	(gst_ffmpeg_formatid_get_codecids):
	  Enable mjpeg-codec in more containers.

935 936 937 938 939 940 941 942 943
2007-06-19  Stefan Kost  <ensonic@users.sf.net>

	* ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback):
	  Cut off double \n.

	* ext/ffmpeg/gstffmpegcodecmap.c:
	(gst_ffmpeg_formatid_get_codecids):
	  Enable more codecs in containers.

944 945 946 947 948 949
2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>

	* win32/vs6/gst_ffmpeg.dsw:
	* win32/vs6/libgstffmpeg.dsp:
	Convert line endings to CRLF and mark files as binary.

950 951 952 953 954 955 956 957 958
2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>

	* gst-libs/ext/ffmpeg/configure.ac:
	* gst-libs/ext/ffmpeg/patches/autotools.patch:
	* gst-libs/ext/ffmpeg/patches/memalign.patch:
	Recognise x86_64 builds and set flags appropriately so that the
	MMX/SSE codepaths get enabled there - makes things considerably
	faster.

959 960 961 962 963 964 965 966 967
2007-06-05  Wim Taymans  <wim@fluendo.com>

	Patch by: <bram at luon dot net>

	* ext/ffmpeg/gstffmpegcodecmap.c:
	(gst_ffmpeg_formatid_get_codecids):
	Add MSMPEG4V3 video and MP3 audio to the asf muxer supported formats.
	Fixes #444384.

968 969 970 971 972 973 974 975
2007-06-05  Wim Taymans  <wim@fluendo.com>

	Patch by: Jan Arne Petersen <jpetersen at jpetersen dot org>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_query):
	Use total duration when the individual stream duration is not known.
	Fixes #375534.

976 977 978 979 980 981 982
2007-06-05  Wim Taymans  <wim@fluendo.com>

	Patch by: Laurent Glayal <spglegle at yahoo dot fr>

	* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_handle_src_event):
	don't leak refcounts in event handler. Fixes #444332.

983 984 985 986 987 988 989
2007-05-25  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (clip_video_buffer),
	(gst_ffmpegdec_video_frame):
	Be a bit smarter when clipping the frame without a duration, we don't
	want the frame to extend to the end of the segment in this case.

990
2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
991 992 993 994 995 996 997

	* configure.ac:
	  Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs
	  will be built or installed on MingW for our plugins in ext/; also,
	  it looks like the right thing to do and we do it for all our other
	  plugin modules as well. Fixes #440253.

998 999 1000 1001 1002 1003
2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
	Reduce the probability of the MPEG-TS typefinder, because there's a
	better one in recent base releases.

1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014
2007-05-17  Edward Hervey  <edward@fluendo.com>

	* configure.ac:
	* ext/ffmpeg/Makefile.am:
	* ext/libpostproc/Makefile.am:
	Fix the build on MacOSX.
	This requires a recent enough version of libtool (ex : 1.5.22), since
	the one shipped by Apple is from the middle ages and is packed with
	issues.
	Fixes #435742

1015 1016 1017 1018 1019 1020 1021 1022 1023
2007-05-09  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_av_find_stream_info):
	* ext/ffmpeg/gstffmpeg.h:
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
	Protect calls to ffmpeg functions that will implicitly call 
	avcodec_open/close with the avcodec mutex.
	Fixes #433245

1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035
2007-05-02  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
	(gst_ffmpegdec_open), (gst_ffmpegdec_save_incoming_values),
	(gst_ffmpegdec_get_best_values), (gst_ffmpegdec_video_frame),
	(gst_ffmpegdec_sink_event):
	Fix timestamping for out-of-order incoming buffers. Instead of blindly
	copying the incoming buffer timestamps on the outgoing buffers we cache
	the latest 2 incoming buffer timestamps and duration and make a wise
	choice as to what the outgoing buffer timestamp and duration should be.
	Fixes #342962

1036 1037 1038 1039 1040 1041
2007-04-25  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
	Remove cruft inserted by wim's last commit.

1042 1043 1044 1045 1046 1047
2007-04-20  Michael Smith  <msmith@fluendo.com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
	  Allow ffmpeg typefinders to try and typefind very short (<4kB)
	  files.

1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059
2007-04-12  Wim Taymans  <wim@fluendo.com>

	Patch by: Mark Nauwelaerts <manauw at skynet dot be> and
	          Thomas Vander Stichele  <thomas at apestaart dot org>
	
	* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
	(gst_ffmpeg_get_codecid_longname):
	Add the CODEC_FLAG_GLOBAL_HEADER to the exposed flags, and makes it as such
	configurable as a property. Fixes #393187.

1060 1061 1062 1063 1064 1065 1066 1067
2007-04-12  Wim Taymans  <wim@fluendo.com>

	Patch by: Yves Lefebvre <ivanohe at abacom dot com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps):
	Draw edges for h264. Fixes #364139.
	Set the error resilience flag just in case...

1068 1069 1070 1071 1072
2007-03-17  Johan Dahlin  <jdahlin@async.com.br>

	* ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_get_codecid_longname): 
	Fix typo in Indeo-2 codec name

1073 1074 1075 1076 1077 1078 1079 1080
2007-03-02  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_init):
	Add mpeg1video and mpeg2video to the list of mpeg-derivatives for
	configuration settings.
	Renamed the mpeg4 category to mpeg.
	Fixes #403739

1081
2007-03-01  Sebastian Dröge  <slomo@circular-chaos.org>
1082 1083 1084 1085

	* configure.ac:
	  Convert to new AG_GST style.

1086
2007-02-16  Tim-Philipp Müller  <tim at centricular dot net>
1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
	(gst_ffmpegdec_register):
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
	(gst_ffmpegdemux_register):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
	(gst_ffmpegenc_register):
	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
	(gst_ffmpegmux_register):
	  Don't use GINT_TO_POINTER and GPOINTER_TO_INT with GTypes, this
	  can break horribly if sizeof(GType) happens to be bigger than
	  sizeof(int), because GPOINTER_TO_INT might then chop off some bits
	  of our GType (the reason this seems to works nevertheless is the
	  put-current-type-also-as-value-0-into-the-hash-table-as-fallback
	  hack used in the current code).
	  In any case, instead of just fixing this, let's not use a hash table
	  with GTypes here at all. g_type_{set|get}_qdata() seems to do the
	  job just as well.

1106 1107 1108 1109 1110
2007-02-14  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
	Typo fix.

1111 1112 1113 1114 1115 1116
2007-02-09  Thomas Vander Stichele  <thomas at apestaart dot org>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
	  My console is not your TODO list.
	  If it were your TODO list, you would have DONE it by now.

1117
2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1118 1119 1120 1121 1122 1123 1124

	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
	  ffmux_flv only accepts mpeg audio with a sample rate of 44100, 22050
	  or 11025. Fix up the caps in the sink pad template accordingly, so
	  that encoding piplines at least have a chance to automatically
	  negotiate to one of the allowed rates.

1125
2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136

	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
	(gst_ffmpegmux_setcaps), (gst_ffmpegmux_collected):
	  Only set the mux->opened flag after we've successfully written the
	  header. This way we don't crash in mysterious ways if we can't write
	  the header for some reason (e.g. due to having accepted caps the
	  format doesn't really allow), then return a GST_FLOW_ERROR, and
	  then still receive another buffer afterwards despite having previously
	  returned FLOW_ERROR (#403168).
	  Also some minor logging improvements.

1137 1138 1139 1140 1141 1142 1143 1144
2007-01-26  Wim Taymans  <wim@fluendo.com>

	Patch by: Mark Nauwelaerts <manauw@skynet.be>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	register yuv4mpegpipe demuxer with MARGINAL rank to
	make it also typically available for auto-plugging. Fixes #399108.

1145
2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1146 1147 1148 1149 1150 1151 1152

	Patch by: Martin Szulecki  <gnomebugzilla at sukimashita com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_with_codecid):
	  Need to set depth on context for camtasia decoder (fixes #398875).

1153 1154 1155 1156 1157 1158 1159 1160
2007-01-11  Wim Taymans  <wim@fluendo.com>

	Patch by: Mark Nauwelaerts <manauw@skynet.be>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
	Internally, ffmpeg (demuxer) expects YUV4MPEG version 2, this patch sets
	the caps correctly. Fixes #394071.

1161 1162 1163 1164 1165 1166 1167 1168 1169
2007-01-10  Edward Hervey  <edward@fluendo.com>

	Patch by: Mark Nauwelaerts <manauw@skynet.be>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_perform_seek),
	(gst_ffmpegdemux_aggregated_flow), (gst_ffmpegdemux_get_stream),
	(gst_ffmpegdemux_loop):
	Check the aggregated return value of pushes downstream to figure out if
	we really need to stop the task or not.
Edward Hervey's avatar
Edward Hervey committed
1170
	Fixes #394075
1171

1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193
2007-01-09  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
	(gst_ffmpeg_set_palette), (gst_ff_vid_caps_new),
	(gst_ff_aud_caps_new), (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
	(gst_ffmpeg_codectype_to_caps), (gst_ffmpeg_caps_to_pixfmt),
	(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_to_caps),
	(gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid),
	(gst_ffmpeg_init_pix_fmt_info), (gst_ffmpeg_avpicture_fill),
	(gst_ffmpeg_img_convert):
	* ext/ffmpeg/gstffmpegcodecmap.h:
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
	(gst_ffmpegenc_register):

	Use codecid as extra parameter when getting caps.
	Restrict H263 caps to allowed sizes for better negotiation.
	MP4/3gp can contain AMR-WB as well.

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	Indent.

1194 1195 1196 1197 1198 1199 1200 1201 1202 1203
2007-01-09  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
	(gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
	(get_output_buffer), (gst_ffmpegdec_video_frame),
	(clip_audio_buffer), (gst_ffmpegdec_audio_frame),
	(gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
	(gst_ffmpegdec_register):
	Use caps to clip output images. Fixes #341736

1204 1205 1206 1207 1208
2007-01-08  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_me_method_get_type):
	Make the name of the motion-estimation method enum values meaningful.

1209
2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1210 1211 1212 1213 1214 1215 1216 1217 1218 1219
	
	* Makefile.am:
	  Add win32/MANIFEST to EXTRA_DIST so win32 files will
	  be include in the next release.
	* win32/MANIFEST:
	  Add manifest to win32 files in next releases.
	* win32/vs6/gst_ffmpeg.dsw:
	* win32/vs6/libgstffmpeg.dsp:
	  Add project files for VS6.

1220 1221 1222 1223 1224 1225 1226 1227 1228
2007-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>

	* configure.ac:
	  actually properly define HAVE_FFMPEG_UNINSTALLED
	  also use it as a conditional
	* ext/ffmpeg/Makefile.am:
	  add a dep on the internal lib so the plugin gets rebuilt on
	  code changes to the ffmpeg lib

1229
2007-01-03  Tim-Philipp Müller  <tim at centricular dot net>
1230 1231 1232 1233 1234 1235 1236

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
	(gst_ffmpegenc_finalize):
	  Turn dispose function into finalize function to avoid double-frees
	  and potential crashes caused by them in some circumstances.
	  Fixes #392395.

1237
2006-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1238 1239 1240 1241 1242

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_smpfmt):
	  The "signed" field in raw audio caps is of boolean type, trying to
	  extract the value with _get_int() will fail.

1243 1244 1245 1246 1247
2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>

	* configure.ac:
	  fix quoting so it works for fedora autotools too

1248
2006-12-15  Tim-Philipp Müller  <tim at centricular dot net>
Tim-Philipp Müller's avatar
Tim-Philipp Müller committed
1249 1250 1251 1252 1253

	* docs/Makefile.am:
	* tests/check/Makefile.am:
	  Spaces => tab

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
1254 1255 1256 1257 1258 1259 1260
2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>

	* Makefile.am:
	* gst-ffmpeg.doap:
	* gst-ffmpeg.spec.in:
	  add doap file

1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275
2006-12-15  Jan Schmidt  <thaytan@mad.scientist.com>

	* Makefile.am:
	* configure.ac:
	* ext/ffmpeg/Makefile.am:
	* ext/ffmpeg/gstffmpeg.c:
	* ext/ffmpeg/gstffmpegdemux.c:
	* ext/libpostproc/Makefile.am:
	* ext/libpostproc/gstpostproc.c:

	Allow building against an external FFMpeg install. Fixes: #363363
	Patch by: Josselin Mouette <joss at debian dot org>
	When built against an external install, the plugin description will
	say "system install" instead of "local snapshot"

Jan Schmidt's avatar
Jan Schmidt committed
1276 1277 1278 1279 1280
2006-12-14  Jan Schmidt  <thaytan@mad.scientist.com>

	* configure.ac:
	Back to CVS

Jan Schmidt's avatar
Jan Schmidt committed
1281 1282 1283 1284 1285 1286 1287
=== release 0.10.2 ===

2006-12-10  Jan Schmidt <thaytan@mad.scientist.com>

	* configure.ac:
	  releasing 0.10.2, "At the edge of Taymans"

1288 1289 1290 1291 1292 1293
2006-12-07  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_get_codecids):
	Activate "amr" and "3gp" muxers.
	Add AMR-NB as a valid audio codec for "mp4" muxer

1294 1295 1296 1297 1298 1299 1300
2006-12-07  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c:
	(gst_ffmpeg_formatid_get_codecids):
	Add H263p variants as possible format for mov.
	Fixes #378796.

1301 1302 1303 1304 1305 1306
2006-12-06  Jan Schmidt  <thaytan@mad.scientist.com>

	* tests/check/generic/libavcodec-locking.c: (GST_START_TEST):
	Fix the filter caps string for the test. Limit it to 10 fps, which
	means encoding ~ 50 frames before timeout

1307 1308 1309 1310 1311 1312
2006-12-04  Jan Schmidt  <thaytan@mad.scientist.com>

	* HACKING:
	Update the hacking info with information about how to prepare
	your quilt setup to hack on the ffmpeg checkout

1313 1314 1315 1316 1317 1318 1319 1320 1321 1322
2006-11-27  Jan Schmidt  <thaytan@mad.scientist.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
	(gst_ffmpegdec_chain):
	  When H264 is presented without codec_data, use a parser to frame it
	  by assuming that no codec_data implies it is unpacketised.

	  Always use the return value from the parser to advance the input
	  buffer position.

1323 1324 1325 1326 1327 1328
2006-11-17  Thomas Vander Stichele  <thomas at apestaart dot org>

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
	  My console is not your TODO list.
	  If it were your TODO list, you would have DONE it by now.

1329 1330 1331 1332 1333 1334 1335 1336
2006-11-16  Stefan Kost  <ensonic@users.sf.net>

	Patch by: Ville Syrjala <ville.syrjala@movial.fi>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_to_codecid):
	  Specify H.263 variant and version in the caps (fixes #361636)

1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348
2006-11-14  Michael Smith  <msmith@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c:
	(gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
	  Add mmf to _get_codecids, so we can use the mmf muxer.
	  Use "audio/x-adpcm" rather than the dubious looking "x-adpcm" as our
	  caps type for the adpcm variants.

	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init):
	  Allow muxers that allow either only audio or only video, needed for
	  mmf (audio only).

1349 1350 1351 1352 1353 1354 1355 1356 1357
2006-10-26  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
	(gst_ffmpegenc_setcaps), (gst_ffmpegenc_register):
	MPEG4 standard does not accept framerates with a denominator greater
	than (1<<16 - 1) (according to the ffmpeg encoder...).
	We therefore scale down the framerate.
	Small indentation fixes using gst-indent.

1358 1359 1360 1361 1362 1363 1364 1365 1366
2006-10-25  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_to_codecid):
	Fix AMR caps. Fixes #364956.

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_get_stream):
	Activate pads before adding them.

1367 1368 1369 1370 1371 1372
2006-10-24  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
	The ->frame_size for RAW audio is 1.
	Should fix behaviour of some muxers.

1373 1374 1375 1376 1377
2006-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>

	* gst-ffmpeg.spec.in:
	  Build with -O1 by default since otherwise assembler breaks

1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390
2006-10-24  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcfg.c:
	FLV is in fact h263 and can take the same parameters as other mpeg
	derivatives.
	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_with_codecid):
	Add pixel format to video/x-dv,systemstream=False
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
	(gst_ffmpegenc_init):
	Use EPZS (Enhanced Predictive Zonal Search) as the default motion
	estimation method, since it's the best quality to speed compromise.

1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418
2006-10-20  Mark Nauwelaerts <manauw@skynet.be>

	Reviewed by: Edward Hervey  <edward@fluendo.com>

	* configure.ac:
	postproc filters need liboil to detect the cpu architecture
	* ext/libpostproc/Makefile.am:
	Update for liboil requirement, libpostproc being moved around in
	ffmpeg mirror, and removal of unused header file.
	* ext/libpostproc/gstpostproc.h:
	Header file not needed anymore
	* ext/libpostproc/gstpostproc.c: (gst_pp_scope_get_type),
	(change_context), (append), (change_mode),
	(gst_post_proc_base_init), (gst_post_proc_class_init),
	(gst_post_proc_init), (gst_post_proc_dispose),
	(gst_post_proc_setcaps), (gst_post_proc_transform_ip),
	(gst_post_proc_set_property), (gst_post_proc_get_property),
	(gst_post_proc_deblock_set_property),
	(gst_post_proc_deblock_get_property),
	(gst_post_proc_tmpnoise_set_property),
	(gst_post_proc_tmpnoise_get_property),
	(gst_post_proc_autolevels_set_property),
	(gst_post_proc_autolevels_get_property),
	(gst_post_proc_forcequant_set_property),
	(gst_post_proc_forcequant_get_property), (gst_post_proc_register),
	(plugin_init):
	Port of postprocessing elements to 0.10.

1419 1420 1421 1422 1423 1424 1425 1426 1427 1428
2006-10-13  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c:
	(gst_ffmpeg_formatid_get_codecids):
	Added some codec mappings for dv and mov muxers.
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
	(gst_ffmpegenc_register):
	Don't attempt to add caps to a NULL caps.
	Add video/x-raw-gray to the input raw video types.

1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440
2006-10-09  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
	(gst_ffmpeg_formatid_get_codecids):
	Added proper mime types for mxf and gxf formats.
	Added known configuration for asf muxer. Implies allowing the ffmpeg asf
	muxer to take WMV and WMA.
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
	Most demuxers/formats don't give keyframe information on encoded
	audio streams. We therefore don't discard them, and use the clipping
	functionnality to drop the decoded buffers we didn't need.

1441 1442 1443 1444 1445 1446 1447 1448
2006-10-09  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	Set the rank of all demuxers for which we:
	_ Have no alternate demuxer,
	_ And are know not to crash like madmans,
	to GST_RANK_MARGINAL

1449 1450 1451 1452 1453 1454
2006-10-09  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	Disable the amr ffmpeg typefind function, it conflicts with
	gsttypefindfunctions' implementation.

1455 1456 1457 1458 1459 1460 1461
2006-10-06  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init):
	Properly initialize ->lmin, ->lmax and ->max_key_interval so we don't
	end up passing completely bogus data to the AVCodecContext.
	Fixes #355584

1462
2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
1463 1464 1465 1466 1467

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_get_stream):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
	  Printf format fixes.

1468 1469 1470 1471 1472 1473
2006-10-05  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_seek):
	Implement seeking for WRITE "gst" protocol.
	This allows muxers to properly seek and output correctly muxed files.

1474 1475 1476 1477 1478 1479 1480
2006-10-05  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_change_state):
	We need to stop the collectpads in PAUSED->READY BEFORE chaining up to
	the parent class change_state. Else we end up in a locking behaviour
	with the sink pads stream locks.

1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494
2006-10-04  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
	(gst_ffmpegdemux_init), (gst_ffmpegdemux_close),
	(gst_ffmpegdemux_push_event), (gst_ffmpegdemux_send_event),
	(gst_ffmpegdemux_src_query), (gst_ffmpegdemux_open),
	(gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
	(gst_ffmpegdemux_sink_activate_push),
	(gst_ffmpegdemux_sink_activate_pull):
	Don't try to use or remove non-existing pads.
	Use _scale some more.
	Don't try to do maths with invalid timestamps. Fixes #359545.
	Prepare for push based scheduling.

1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505
2006-09-30  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
	Clarify some CODEC_ID <=> mime type conversions for image formats.
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	Cleanup on demuxer registration.
	Bumped flv demuxer to RANK_MARGINAL since it proved solid enough.
	Will have to go over more demuxers, for which we don't have any
	gst-plugins-* alternative, to figure out which ones can move to
	RANK_MARGINAL too.

1506
2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
1507 1508 1509 1510 1511

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
	  Don't leak caps in some cases and make build bots happy again.

1512 1513 1514 1515 1516 1517
2006-09-23  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
	Added definitions for FLASHSV, Flash Screen Video format.

1518 1519 1520 1521 1522
2006-09-21  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
	wc1/wmv3 ffmpeg decoder now works. Bumping rank to GST_RANK_MARGINAL.

1523 1524 1525 1526 1527 1528
2006-09-20  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
	Adding codec mapping for vp5, vp6, vp6f and cavs.

1529 1530 1531 1532 1533 1534 1535 1536 1537
2006-09-20  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_get_codecid_longname):
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
	Seems like the ffmpeg folks finally understood that VC9 does not
	exist, and that it's in fact VC1 (aka WMV9 or WMV3, but that's yet
	another debate).

1538 1539 1540 1541 1542 1543 1544 1545 1546
2006-09-17  Stefan Kost  <ensonic@users.sf.net>

	* ext/ffmpeg/gstffmpegdec.c:
	* ext/ffmpeg/gstffmpegdeinterlace.c:
	* ext/ffmpeg/gstffmpegenc.h:
	* ext/ffmpeg/gstffmpegmux.c:
	* ext/ffmpeg/gstffmpegscale.c:
	  More G_OBJECT macro fixing.

1547 1548 1549 1550 1551 1552 1553 1554
2006-09-13  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
	(check_keyframe), (gst_ffmpegdec_video_frame),
	(gst_ffmpegdec_chain):
	Add some more timestamp debugging.
	Fixed wrong duration whn not using a parser.

1555 1556 1557 1558 1559 1560
2006-09-08  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
	(gst_ffmpegmux_sink_event), (gst_ffmpegmux_collected):
	Port tag-writing support in the muxers.

1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577
2006-09-08  Edward Hervey  <edward@fluendo.com>

	Patch by: Michal Benes  <michal dot benes at xeris dot cz>
	
	* ext/ffmpeg/Makefile.am:
	* ext/ffmpeg/gstffmpeg.c: (plugin_init):
	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_codecid):
	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
	(gst_ffmpegmux_init), (gst_ffmpegmux_finalize),
	(gst_ffmpegmux_request_new_pad), (gst_ffmpegmux_setcaps),
	(gst_ffmpegmux_collected), (gst_ffmpegmux_change_state),
	(gst_ffmpegmux_register):
	Port of FFMpeg muxers to 0.10.
	Still needs some loving in gstffmpegcodecmap to have them all supported
	with correct input formats.
	Closes #332339

1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594
2006-09-06  Wim Taymans  <wim@fluendo.com>

	Patch by: Sebastien Moutte <sebastien at moutte dot net>

	* ext/ffmpeg/gstffmpeg.c: (plugin_init):
	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_vid_caps_new),
	(gst_ff_aud_caps_new), (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
	(gst_ffmpeg_init_pix_fmt_info):
	* ext/ffmpeg/gstffmpegcodecmap.h:
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_send_event):
	* ext/ffmpeg/gstffmpegprotocol.c:
	Make stuff compile on Visual Studio 6.
	Convert some crach macros to functions.
	Convert some static tables to _init functions.
	Fixes #343951.

1595 1596 1597 1598 1599 1600
2006-09-06  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
	Do early keyframe check again, feeding bad data in ffmpeg is not a good
	idea after all.

1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632
2006-09-06  Wim Taymans  <wim@fluendo.com>

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

	* ext/ffmpeg/Makefile.am:
	* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_pass_get_type),
	(gst_ffmpeg_lim_pass_get_type), (gst_ffmpeg_mb_decision_get_type),
	(gst_ffmpeg_mb_cmp_get_type), (gst_ffmpeg_dct_algo_get_type),
	(gst_ffmpeg_idct_algo_get_type), (gst_ffmpeg_quant_type_get_type),
	(gst_ffmpeg_pre_me_get_type), (gst_ffmpeg_pred_method_get_type),
	(gst_ffmpeg_flags_get_type), (gst_ffmpeg_cfg_init),
	(gst_ffmpeg_cfg_codec_has_pspec),
	(gst_ffmpeg_cfg_install_property), (gst_ffmpeg_cfg_set_property),
	(gst_ffmpeg_cfg_get_property), (gst_ffmpeg_cfg_set_defaults),
	(gst_ffmpeg_cfg_fill_context):
	* ext/ffmpeg/gstffmpegcfg.h:
	Added helper object to handle extra properties.

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
	(gst_ffmpegenc_init), (gst_ffmpegenc_dispose),
	(gst_ffmpegenc_getcaps), (gst_ffmpegenc_setcaps),
	(gst_ffmpegenc_chain_video), (gst_ffmpegenc_chain_audio),
	(gst_ffmpegenc_flush_buffers), (gst_ffmpegenc_event_video),
	(gst_ffmpegenc_set_property), (gst_ffmpegenc_get_property),
	(gst_ffmpegenc_change_state), (gst_ffmpegenc_register):
	* ext/ffmpeg/gstffmpegenc.h:
	Exposes (quite some of) the AVCodecContext configurable
	settings, as well as some additional (though simple) logic for b-frame
	delay handling.
	Most of the properties are only enabled for mpeg4-like codecs.
	Fixes #344583.

1633 1634 1635 1636 1637 1638
2006-09-05  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
	Disable early keyframe check, it causes crashes and is not really
	needed. 

1639 1640 1641 1642 1643 1644 1645 1646
2006-09-05  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
	(gst_ffmpegdec_chain):
	Even more timestamp fixage.
	Also keep track of pending durations.
	don't lose our timestamp when joining the cache.

1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657
2006-09-05  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
	(gst_ffmpegdec_audio_frame), (gst_ffmpegdec_frame),
	(gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
	More timestamp fixage.
	Don't pass around buffers just to pass its timestamp since we
	cannot update it.
	After decoding a buffer, don't use the timestamp of the buffer
	anymore but let the interpolation do its work.

1658 1659 1660 1661 1662 1663
2006-09-05  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
	Fix timestamping some more by actually using the ffmpeg parsers
	correctly. Fixes #341736

1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676
2006-08-29  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
	(gst_ffmpegdec_negotiate), (clip_video_buffer),
	(clip_audio_buffer), (gst_ffmpegdec_audio_frame),
	(gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
	(gst_ffmpegdec_chain):
	Mark outgoing buffers with DISCONT when needed.
	Small cleanups.
	Fix timestamps on audio decoders.
	better audio clipping.
	Fixes #352579.

1677 1678 1679 1680 1681 1682
2006-08-21  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
	Pad extradata. Allocate dummy empty extradata because some codecs like
	to read it and segfault when it's not there.

1683 1684 1685 1686 1687 1688 1689 1690 1691 1692
2006-08-16  Wim Taymans  <wim@fluendo.com>

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

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
	If we are not operating in RTP mode, leave the default rtp encoder
	settings as they are so that we don't unintentionally activate it.
	Fixes #351415.


1693 1694 1695 1696 1697 1698 1699
2006-08-14  Edward Hervey  <edward@fluendo.com>

	* configure.ac:
	Don't build programs in ffmpeg checkout, since we're never going to use
	them in the gstreamer plugin. Also it allows building the plugin on
	systems that don't have UI-specific libraries (like X).

1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715
2006-07-19  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_lowres_get_type),
	(gst_ffmpegdec_skipframe_get_type), (gst_ffmpegdec_class_init),
	(gst_ffmpegdec_init), (gst_ffmpegdec_open),
	(gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
	(gst_ffmpegdec_do_qos), (clip_video_buffer), (check_keyframe),
	(get_output_buffer), (gst_ffmpegdec_video_frame),
	(gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
	(gst_ffmpegdec_chain):
	Make some enums const.
	Cleanups, refactoring.
	Better video frame clipping.
	Timestamp fixe: use timestamp from incomming buffer even if there
	is no input framerate given (as this is totally unrelated).

Edward Hervey's avatar
Edward Hervey committed
1716 1717 1718 1719 1720
2006-06-12  Edward Hervey  <edward@fluendo.com>

	* .cvsignore:
	ignore more files

1721 1722 1723 1724 1725
2006-06-06  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open): 
	mpeg4 parsing still utterly broken :(

1726 1727 1728 1729 1730
2006-06-02  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
	Nothing to see, pass your way, I didn't screwup the previous commit.

1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747
2006-06-02  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
	(gst_ffmpegdec_query), (gst_ffmpegdec_update_qos),
	(gst_ffmpegdec_reset_qos), (gst_ffmpegdec_read_qos),
	(gst_ffmpegdec_open), (gst_ffmpegdec_setcaps),
	(gst_ffmpegdec_get_buffer), (gst_ffmpegdec_release_buffer),
	(gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_negotiate),
	(gst_ffmpegdec_do_qos), (gst_ffmpegdec_video_frame),
	(gst_ffmpegdec_audio_frame), (gst_ffmpegdec_frame),
	(gst_ffmpegdec_flush_pcache), (gst_ffmpegdec_sink_event),
	(gst_ffmpegdec_chain):
	Split out audio and video frame decoding.
	Added dropping/clipping of decoded buffers.
	Ran gst-indent on code.
	Small non-invasive code cleanups.

1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760
2006-06-02  Michael Smith  <msmith@fluendo.com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	  One of the ffmpeg 'plugins' changed its name with the latest update
	  of the snapshot. Change the blacklisted typefind list to match.

2006-06-02  Michael Smith  <msmith@fluendo.com>

	reviewed by: <delete if not using a buddy>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):

1761 1762 1763 1764 1765 1766 1767 1768 1769
2006-05-26  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
	(gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_formatid_get_codecids),
	(gst_ffmpeg_get_codecid_longname):
	Change all GST_WARNING to GST_LOG. None of these warning are
	really critical issues anyway.
	
1770 1771 1772 1773 1774
2006-05-19  Thomas Vander Stichele  <thomas at apestaart dot org>

	* configure.ac:
	  fix test by finding base plugins

1775
2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1776 1777 1778 1779 1780

	* tests/check/gst-ffmpeg.supp:
	  Add missing file (which prepare-ChangeLog didn't pick up
	  because it's empty).

1781
2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1782 1783 1784 1785 1786 1787

	* tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
	(simple_launch_lines_suite), (main):
	  Only run test when encoder element is available (we might
	  have been configured with --disable-encoders).

1788
2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1789 1790 1791 1792 1793 1794 1795 1796 1797

	Patch by: Luca Ognibene  <luogni at tin dot it>

	* tests/check/Makefile.am:
	* tests/check/generic/libavcodec-locking.c: (setup_pipeline),
	(run_pipeline), (GST_START_TEST), (simple_launch_lines_suite),
	(main):
	  Add test case for libavcodec locking

1798
2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1799 1800 1801 1802 1803 1804 1805 1806 1807

	* Makefile.am:
	* configure.ac:
	* tests/Makefile.am:
	* tests/check/.cvsignore:
	* tests/check/Makefile.am:
	* tests/check/generic/.cvsignore:
	  Add test infrastructure to gst-ffmpeg (#324279).

1808 1809 1810 1811 1812
2006-05-08  Edward Hervey  <edward@fluendo.com>

	* autogen.sh: (CONFIGURE_DEF_OPT): 
	libtoolize on Darwin/MacOSX is called glibtoolize

1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829
2006-05-07  Jan Schmidt  <thaytan@mad.scientist.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_get_codecids),
	(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init):
	Add mappings for RealVideo 4.0, AMR-WB, AMR-NB and DTS to silence
	warnings when registering.
	Only register the 1/2,1/4 size decode and frame-skipping properties
	on video decoders.

	* gst-libs/ext/ffmpeg/configure.ac:
	* gst-libs/ext/ffmpeg/libavformat/Makefile.am:
	* gst-libs/ext/ffmpeg/patches/autotools.patch:
	Merge patch by Sam Morris to allow disabling of decoders. 
	Fixes #324366

1830 1831 1832 1833 1834 1835 1836
2006-05-07  Jan Schmidt  <thaytan@mad.scientist.com>

	* gst-libs/ext/ffmpeg/patches/autotools.patch:
	* gst-libs/ext/ffmpeg/patches/noinst.patch:
	Refresh patches to incorporate MikeS' automake 1.9 changes from a
	while back.

1837
2006-05-02  Tim-Philipp Müller  <tim at centricular dot net>
1838 1839 1840 1841 1842 1843 1844

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	  Give ffmpeg demuxers a rank of NONE for the time being, so that
	  they are not auto-plugged; they are not stable enough for that
	  yet (e.g. #337785). Don't register AAC demuxer, it's not really
	  useful and can't be used as faad replacement (#338928).

1845 1846 1847 1848 1849
2006-04-24  Edgard Lima <edgard.lima@indt.org.br>

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
	just make it compile with --disable-gst-debug.

1850 1851
2006-04-21  Andy Wingo  <wingo@pobox.com>

1852 1853 1854 1855
	* configure.ac (GST_MAJORMINOR): Drop the required gstreamer
	version back down to the latest release, I don't think thomas'
	commit on 1 april was meant to change it.

1856 1857 1858
	* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Up the rank
	of the dv video decoder.

1859 1860 1861 1862 1863 1864 1865 1866 1867 1868
2006-04-19  J^ <j@bootlab.org>

	reviewed by: Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_formatid_get_codecids),
	(gst_ffmpeg_get_codecid_longname):
	Added proper GstCaps <==> CodecId for Apple QDRaw.
	Fixed up proper wrapping for GstCaps <==> FormatId.

1869 1870 1871 1872 1873 1874 1875
2006-04-18  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_perform_seek),
	(gst_ffmpegdemux_loop):
	Don't try to convert -1 values when seeking.
	Adjust timestamps with start_time of the stream.

1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896
2006-04-13  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
	(gst_ffmpegdemux_class_init), (gst_ffmpegdemux_init),
	(gst_ffmpegdemux_close), (gst_ffmpegdemux_push_event),
	(gst_ffmpegdemux_set_flags), (gst_ffmpegdemux_is_eos),
	(gst_ffmpegdemux_do_seek), (gst_ffmpegdemux_perform_seek),
	(gst_ffmpegdemux_src_event), (gst_ffmpegdemux_send_event),
	(gst_ffmpegdemux_src_query), (gst_ffmpegdemux_src_convert),
	(gst_ffmpegdemux_get_stream), (my_safe_copy),
	(gst_ffmpegdemux_read_tags), (gst_ffmpegdemux_open),
	(gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
	(gst_ffmpegdemux_sink_activate_pull),
	(gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
	Rework the demuxer, implement all seeking stuff including
	seek in ready.

	* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
	(gst_ffmpegdata_close):
	Handle some more cases.

1897 1898 1899 1900 1901 1902
2006-04-11  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
	Actually convert to time instead of pretending.. Also
	the bitrate of the context is mostly wrong so don't
	bother calculating a stop position.
1903
	Closing (#331323)
1904

1905 1906 1907 1908 1909
2006-04-10  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
	When we see a keyframe don't wait for another one.

1910 1911 1912 1913 1914 1915 1916
2006-04-08  Stefan Kost  <ensonic@users.sf.net>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init):
	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_class_init):
	Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

1917 1918 1919 1920 1921
2006-04-08  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_do_qos):
	Too bad we can't use gst_private.h..

Wim Taymans's avatar
Wim Taymans committed
1922 1923 1924
2006-04-08  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
1925
	Some other formats, still commented out, though.
Wim Taymans's avatar
Wim Taymans committed
1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943

2006-04-08  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
	(gst_ffmpegdec_init), (gst_ffmpegdec_finalize),
	(gst_ffmpegdec_query), (gst_ffmpegdec_update_qos),
	(gst_ffmpegdec_reset_qos), (gst_ffmpegdec_read_qos),
	(gst_ffmpegdec_src_event), (gst_ffmpegdec_open),
	(gst_ffmpegdec_setcaps), (gst_ffmpegdec_get_buffer),
	(gst_ffmpegdec_release_buffer),
	(gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_negotiate),
	(gst_ffmpegdec_do_qos), (gst_ffmpegdec_frame),
	(gst_ffmpegdec_flush_pcache), (gst_ffmpegdec_sink_event),
	(gst_ffmpegdec_chain):
	Cleanups.  Fix refcounting here and there. use DEBUG_OBJECT,
	refactor some functions. Use GstSegment.
	Implement simple QOS by using the ffmpeg hurry_up field.

1944
2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
1945 1946 1947 1948 1949 1950 1951 1952

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	  Register id3 demuxer, avi demuxer and ogg demuxer with
	  a rank of GST_RANK_NONE so that they don't get
	  autoplugged accidentally. We want people to install
	  the demuxers that are known to work well rather than
	  mostly untested stuff like ffdemux_*.

1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967
2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>

	* ext/ffmpeg/gstffmpeg.c:
	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
	* ext/ffmpeg/gstffmpegdec.c:
	(gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_frame):
	* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_seek):
	* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform_caps),
	(gst_ffmpegscale_handle_src_event):
	  various compiler fixes
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
	(my_safe_copy), (gst_ffmpegdemux_open),
	(gst_ffmpegdemux_change_state):
	  actually return the result.  Tee hee.

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
1968 1969 1970 1971 1972
2006-03-31  Thomas Vander Stichele <thomas at apestaart dot org>

	* configure.ac:
	  back to HEAD

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
1973 1974 1975 1976 1977 1978 1979
=== release 0.10.1 ===

2006-03-31  Thomas Vander Stichele <thomas at apestaart dot org>

	* configure.ac:
	  releasing 0.10.1, "Late Train"

1980 1981 1982 1983 1984 1985 1986 1987 1988
2006-03-22  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
	(gst_ffmpegdec_setcaps), (gst_ffmpegdec_change_state):
	make _open and _close as functions that should be
	called with the object lock instead of them taking a
	lock themselves. This fixes a deadlock when 
	_open fails.

1989
2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
1990 1991 1992 1993 1994 1995 1996

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
	  Don't use gst_pad_alloc_buffer() for frames with palette,
	  as we'll artificially shorten the size of buffers in that
	  case and GstBaseTransform will complain about unit size
	  issues if we use _alloc_buffer() with the full size.

1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
2006-03-01  Michal Benes  <michal dot benes at xeris dot cz>

	reviewed by: Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/Makefile.am:
	* ext/ffmpeg/gstffmpeg.c: (plugin_init):
	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
	(gst_ffmpeg_formatid_get_codecids):
	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
	(gst_ffmpegmux_init), (gst_ffmpegmux_finalize),
	(gst_ffmpegmux_request_new_pad), (gst_ffmpegmux_setcaps),
	(gst_ffmpegmux_collected), (gst_ffmpegmux_change_state),
	(gst_ffmpegmux_register):
	Port of FFMpeg muxers to 0.10.
	Still needs some loving in gstffmpegcodecmap to have them all supported
	with correct input formats.
	Closes #332339
	

2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030
2006-03-01  Michal Benes  <michal dot benes at xeris dot cz>

	Reviewed by : Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/Makefile.am:
	* ext/ffmpeg/gstffmpeg.c: (plugin_init):
	* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_base_init),
	(gst_ffmpegscale_class_init), (gst_ffmpegscale_init),
	(gst_ffmpegscale_finalize), (gst_ffmpegscale_transform_caps),
	(gst_ffmpegscale_fixate_caps), (gst_ffmpegscale_get_unit_size),
	(gst_ffmpegscale_set_caps), (gst_ffmpegscale_transform),
	(gst_ffmpegscale_handle_src_event), (gst_ffmpegscale_register):
	Port of ffvideoscale to 0.10.
	Closes #332557

2031 2032 2033 2034 2035 2036 2037 2038
2006-03-01  Josef Zlomek  <josef dot zlomek at itonis dot tv>

	Reviewed by : Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_audio):
	Fix segmentation fault and memleak.
	Fixes #332995 and #333001

2039
2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
2040 2041 2042 2043 2044

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
	  ... can't adjust buffer size of NULL buffers though
	  (as happens when seeking in video from #327075).

Michael Smith's avatar
Michael Smith committed
2045 2046 2047 2048 2049 2050
2006-02-24  Michael Smith  <msmith@fluendo.com>

	* autogen.sh:
	* gst-libs/ext/ffmpeg/autogen.sh:
	  Allow automake 1.9

2051
2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
2052 2053 2054 2055 2056

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
	(gst_ffmpeg_set_palette):
	  Use AVPALETTE_SIZE macro instead of magic value for clarity.

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2057
	Based on patch by: Fabrizio Gennari
2058 2059 2060
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
	  In GStreamer, the size of the palette is not part of
	  GST_BUFFER_SIZE, so adjust buffer size of outgoing buffers
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2061
	  accordingly if there's a palette (fixes #327028)
2062

2063 2064 2065 2066 2067 2068 2069
2006-02-21  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_formatid_to_caps):
	Added proper formatid to caps conversion for ogg, gif, yuv4mpeg and
	quicktime formats.

2070 2071 2072 2073 2074 2075
2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>

	* configure.ac:
	Apply patch from Sebastien Cote to handle --with-pkg-config-path
	before looking for GStreamer patches. (Re-closes #319248)

2076 2077 2078 2079 2080 2081 2082 2083 2084
2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_with_codecid):
	Add extra detail to the Real format caps. With this info, 
	filesrc ! ffdemux_rm ! ffdec_cook ! ... works, but using rmdemux
	doesn't. The order of the data the demuxers output appears to be
	different.

2085 2086 2087 2088 2089 2090 2091
2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_get_codecid_longname):
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
	Add new codec ids and fix up some of the codec->mime type mappings

2092 2093 2094 2095 2096 2097
2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
	Add codec mapping for RealAudio G2 (Cook) codec.

2098 2099 2100 2101 2102 2103 2104 2105 2106
2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>

	* HACKING:
	Mention ffmpeg snapshot update

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
	Add new codec types from FFMpeg snapshot update to 2006-02-17 4:00 GMT

2107 2108 2109 2110 2111
2006-02-17  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_sink_activate):
	Post nice error message when we cannot activate in pull mode.

2112 2113 2114 2115 2116 2117 2118
2006-02-14  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
	If the duration returned by ffmpeg is 0, it doesn't mean the file has
	no duration, but that it doesn't know the end.
	Fixed accordingly for segment_stop.

2119 2120 2121 2122 2123 2124
2006-02-13  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
	(gst_ffmpegdec_frame):
	More fixes for keyframe detection in ffmpeg decoders...

2125 2126 2127 2128 2129 2130
2006-02-12  Thomas Vander Stichele  <thomas at apestaart dot org>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
	  respect pixel-aspect-ratio when encoding.

2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142
2006-02-12  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_init),
	(gst_ffmpegdemux_close), (gst_ffmpegdemux_handle_seek),
	(gst_ffmpegdemux_add), (my_safe_copy), (gst_ffmpegdemux_read_tags),
	(gst_ffmpegdemux_open), (gst_ffmpegdemux_loop):
	Add Tag support and keyframe seeking (for those formats where ffmpeg
	actually fills in the index).
	* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
	(gst_ffmpegdata_read), (gst_ffmpegdata_seek):
	Add support for size querying.

2143 2144 2145 2146 2147 2148 2149
2006-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>

	* ext/ffmpeg/gstffmpeg.c:
	  set correct version on the plug-in - the GStreamer
	  FFMpeg version.  I could swear I had already done this
	  before.

2150 2151 2152 2153 2154 2155
2006-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
	(gst_ffmpegenc_init), (gst_ffmpegenc_setcaps):
	  debug and magic number fixes

2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175
2006-02-10  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/Makefile.am:
	* ext/ffmpeg/gstffmpeg.c: (plugin_init):
	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
	(gst_ffmpegdemux_init), (gst_ffmpegdemux_stream_from_pad),
	(gst_ffmpegdemux_handle_seek), (gst_ffmpegdemux_src_event),
	(gst_ffmpegdemux_src_query_list), (gst_ffmpegdemux_src_query),
	(gst_ffmpegdemux_add), (gst_ffmpegdemux_open),
	(gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
	(gst_ffmpegdemux_sink_activate_pull),
	(gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
	* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
	(gst_ffmpegdata_peek), (gst_ffmpegdata_read),
	(gst_ffmpegdata_write), (gst_ffmpegdata_seek),
	(gst_ffmpegdata_close):
	Welcome the demuxers to 0.10 :)
	For the time being the demuxers work only pull-based.
	Seeking, querying works.

2176 2177 2178 2179 2180
2006-02-10  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
	added CODEC_ID_FLV1 <==> 'video/x-flash-video,flvversion=1' conversion.

2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194
2006-02-06  Thomas Vander Stichele  <thomas at apestaart dot org>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_smpfmt_to_caps):
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
	(gst_ffmpegdec_negotiate), (gst_ffmpegdec_frame),
	(gst_ffmpegdec_chain):
	  debug recurring events at LOG level
	  do some timestamp setting heuristics on the pcache, with the
	  net result of having more buffers have approximately correct
	  timestamps.
	  This allows playback of h263/3gp files taking fps from the demuxer,
	  which before always set GST_CLOCK_TIME_NONE as timestamp.

2195
2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2196 2197 2198 2199

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette):
	  Buffers aren't boxed types any longer.

2200 2201
2006-02-03  Edgard Lima <edgard.lima@indt.org.br>

2202 2203
	* ext/ffmpeg/gstffmpegenc.c:
	  Just make it compile with --disable-gst-debug.
2204
			
2205 2206 2207 2208 2209
2006-02-02  Andy Wingo  <wingo@pobox.com>

	* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Reorder case
	statements to make control flow more clear.

2210 2211 2212 2213 2214 2215 2216
2006-02-02  Christian Schaller <christian at fluendo dot com>

	* Set rank NONE for mp3 and mpeg2video:
	  They don't work properly and having them autoplugged
	  gives people a bad impression and leads them to not grab 
	  mad or fluendo mp3. Fixes #162833

2217 2218 2219 2220 2221
2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>

	* configure.ac:
	  fix build of deinterlace

2222 2223 2224 2225 2226 2227
2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>

	* docs/plugins/Makefile.am:
	* docs/plugins/gst-ffmpeg-plugins-docs.sgml:
	  first stab at documenting ffmpeg elements.  Needs work.

2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243
2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>

	* configure.ac:
	* docs/Makefile.am:
	* docs/plugins/.cvsignore:
	* docs/plugins/gst-ffmpeg-plugins-docs.sgml:
	* docs/plugins/gst-ffmpeg-plugins.args:
	* docs/plugins/gst-ffmpeg-plugins.hierarchy:
	* docs/plugins/gst-ffmpeg-plugins.interfaces:
	* docs/plugins/gst-ffmpeg-plugins.prerequisites:
	* docs/plugins/gst-ffmpeg-plugins.types:
	* docs/plugins/inspect.stamp:
	* docs/plugins/inspect/plugin-ffmpeg.xml:
	* docs/version.entities.in:
	  First step at adding docs

2244
2006-01-26  Tim-Philipp Müller  <tim at centricular dot net>
2245 2246 2247 2248 2249 2250

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
	  Pad codec data buffer to a size that is a multiple of 16, which
	  ffmpeg apparently needs for optimized/unchecked access to the
	  data. Fixes crashes with HD h264 video.

2251 2252 2253 2254 2255 2256 2257 2258
2006-01-23  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
	Added CODEC_ID_SMC <==> video/x-smc   caps
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
	I hate ffmpeg... no keyframe information at all for VP3, so we have
	to assume they're all keyframes :(