ChangeLog 134 KB
Newer Older
1 2 3 4 5
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
6 7 8 9 10 11
2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>

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

12 13 14 15 16 17
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

18 19 20 21 22
2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>

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

23 24 25 26 27
2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>

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

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

40 41 42 43 44 45
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

46 47 48 49 50 51 52 53
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.

54 55 56 57 58 59 60 61
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

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

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

2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
77 78 79 80 81 82 83 84

	* 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.

85
2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
86 87 88 89 90 91 92

	* 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.

93 94 95 96
2008-04-15  Andy Wingo  <wingo@pobox.com>

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

99 100 101 102 103 104 105 106 107
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.

108
2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
109 110 111 112 113 114 115

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

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

116 117 118 119 120 121 122
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

123 124 125 126 127
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.

128 129 130 131 132 133 134 135 136 137
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.

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

145 146 147 148 149 150 151
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.

152 153 154 155 156 157 158
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).

159 160 161 162 163 164 165 166 167 168
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.

169 170 171 172 173 174 175 176 177 178
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

179 180 181 182 183 184
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

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

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

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

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

208 209 210 211 212 213
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.

214 215 216 217 218 219 220 221 222
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).

223 224 225 226 227 228 229 230 231 232 233
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.

234 235 236 237 238 239 240 241
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'.

242 243 244 245 246 247
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.

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

254 255 256 257 258 259 260 261 262 263 264 265 266 267
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.

268 269 270 271 272 273
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.

274
2008-01-22  Sebastian Dröge  <slomo@circular-chaos.org>
275 276 277 278 279

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

280 281 282 283 284 285 286
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.

287 288 289 290 291 292
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.

293 294 295 296 297 298 299
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.

300 301 302 303 304 305 306 307 308
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.

309 310 311 312 313 314 315
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.

316
2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
317 318 319 320 321 322 323 324 325 326

	* 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.

327 328 329 330 331
2008-01-09  Edward Hervey  <edward.hervey@collabora.co.uk>

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

332 333 334 335 336
2008-01-09  Stefan Kost  <ensonic@users.sf.net>

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

337
2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
338 339 340 341 342 343 344 345 346 347 348 349 350

	* 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.

351 352 353 354 355 356
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.

357
2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
358 359 360 361 362

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

363
2007-12-17  Sebastian Dröge  <slomo@circular-chaos.org>
364 365 366 367 368 369 370 371 372 373 374

	* 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.

375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398
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.

399
2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
400 401 402 403 404 405 406 407 408

	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.

409
2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
410 411 412 413 414 415 416 417 418 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 455 456 457 458 459 460 461

	* 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.
462
	Help by : Dejan Sakelšak  <sakdean at gmail dot com>
463 464 465 466 467 468 469 470 471 472 473 474 475
	* 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.

476 477 478 479 480
2007-12-04  Edward Hervey  <bilboed@bilboed.com>

	* configure.ac:
	And back to development cycle.

Edward Hervey's avatar
Edward Hervey committed
481 482 483 484 485 486 487 488 489
=== 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"

490 491 492 493 494
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
495 496
2007-11-08  Edward Hervey  <bilboed@bilboed.com>

497
	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
498 499 500 501

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

502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526
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.

527
2007-10-12  Tim-Philipp Müller  <tim at centricular dot net>
528 529 530 531 532

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

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

540 541 542 543 544 545 546 547
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.

548 549 550 551 552
2007-10-03  Stefan Kost  <ensonic@users.sf.net>

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

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

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

572 573 574 575 576 577 578 579 580 581 582 583 584
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.

585 586 587 588 589 590 591 592 593 594 595 596 597 598
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.

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

605 606 607 608 609 610 611 612
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.

613 614 615 616 617 618 619 620 621
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.

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

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

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

653 654 655 656 657 658
2007-06-20  Stefan Kost  <ensonic@users.sf.net>

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

659 660 661 662 663 664 665 666 667
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.

668 669 670 671 672 673
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.

674 675 676 677 678 679 680 681 682
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.

683 684 685 686 687 688 689 690 691
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.

692 693 694 695 696 697 698 699
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.

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

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

714
2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
715 716 717 718 719 720 721

	* 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.

722 723 724 725 726 727
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.

728 729 730 731 732 733 734 735 736 737 738
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

739 740 741 742 743 744 745 746 747
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

748 749 750 751 752 753 754 755 756 757 758 759
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

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

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

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

784 785 786 787 788 789 790 791
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...

792 793 794 795 796
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

797 798 799 800 801 802 803 804
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

805
2007-03-01  Sebastian Dröge  <slomo@circular-chaos.org>
806 807 808 809

	* configure.ac:
	  Convert to new AG_GST style.

810
2007-02-16  Tim-Philipp Müller  <tim at centricular dot net>
811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829

	* 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.

830 831 832 833 834
2007-02-14  Edward Hervey  <edward@fluendo.com>

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

835 836 837 838 839 840
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.

841
2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
842 843 844 845 846 847 848

	* 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.

849
2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
850 851 852 853 854 855 856 857 858 859 860

	* 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.

861 862 863 864 865 866 867 868
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.

869
2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
870 871 872 873 874 875 876

	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).

877 878 879 880 881 882 883 884
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.

885 886 887 888 889 890 891 892 893
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
894
	Fixes #394075
895

896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917
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.

918 919 920 921 922 923 924 925 926 927
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

928 929 930 931 932
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.

933
2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
934 935 936 937 938 939 940 941 942 943
	
	* 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.

944 945 946 947 948 949 950 951 952
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

953
2007-01-03  Tim-Philipp Müller  <tim at centricular dot net>
954 955 956 957 958 959 960

	* 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.

961
2006-12-21  Tim-Philipp Müller  <tim at centricular dot net>
962 963 964 965 966

	* 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.

967 968 969 970 971
2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>

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

972
2006-12-15  Tim-Philipp Müller  <tim at centricular dot net>
Tim-Philipp Müller's avatar
Tim-Philipp Müller committed
973 974 975 976 977

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

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
978 979 980 981 982 983 984
2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>

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

985 986 987 988 989 990 991 992 993 994 995 996 997 998 999
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
1000 1001 1002 1003 1004
2006-12-14  Jan Schmidt  <thaytan@mad.scientist.com>

	* configure.ac:
	Back to CVS

Jan Schmidt's avatar
Jan Schmidt committed
1005 1006 1007 1008 1009 1010 1011
=== release 0.10.2 ===

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

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

1012 1013 1014 1015 1016 1017
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

1018 1019 1020 1021 1022 1023 1024
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.

1025 1026 1027 1028 1029 1030
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

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

1037 1038 1039 1040 1041 1042 1043 1044 1045 1046
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.

1047 1048 1049 1050 1051 1052
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.

1053 1054 1055 1056 1057 1058 1059 1060
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)

1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072
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).

1073 1074 1075 1076 1077 1078 1079 1080 1081
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.

1082 1083 1084 1085 1086 1087 1088 1089 1090
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.

1091 1092 1093 1094 1095 1096
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.

1097 1098 1099 1100 1101
2006-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>

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

1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114
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.

1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142
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.

1143 1144 1145 1146 1147 1148 1149 1150 1151 1152
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.

1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164
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.

1165 1166 1167 1168 1169 1170 1171 1172
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

1173 1174 1175 1176 1177 1178
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.

1179 1180 1181 1182 1183 1184 1185
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

1186
2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
1187 1188 1189 1190 1191

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

1192 1193 1194 1195 1196 1197
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.

1198 1199 1200 1201 1202 1203 1204
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.

1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218
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.

1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
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.

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

	* 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.

1236 1237 1238 1239 1240 1241
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.

1242 1243 1244 1245 1246
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.

1247 1248 1249 1250 1251 1252
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.

1253 1254 1255 1256 1257 1258 1259 1260 1261
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).

1262 1263 1264 1265 1266 1267 1268 1269 1270
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.

1271 1272 1273 1274 1275 1276 1277 1278
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.

1279 1280 1281 1282 1283 1284
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.

1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301
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

1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318
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.

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

1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356
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.

1357 1358 1359 1360 1361 1362
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. 

1363 1364 1365 1366 1367 1368 1369 1370
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.

1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381
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.

1382 1383 1384 1385 1386 1387
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

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

1401 1402 1403 1404 1405 1406
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.

1407 1408 1409 1410 1411 1412 1413 1414 1415 1416
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.


1417 1418 1419 1420 1421 1422 1423
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).

1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439
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
1440 1441 1442 1443 1444
2006-06-12  Edward Hervey  <edward@fluendo.com>

	* .cvsignore:
	ignore more files

1445 1446 1447 1448 1449
2006-06-06  Edward Hervey  <edward@fluendo.com>

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

1450 1451 1452 1453 1454
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.

1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471
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.

1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484
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):

1485 1486 1487 1488 1489 1490 1491 1492 1493
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.
	
1494 1495 1496 1497 1498
2006-05-19  Thomas Vander Stichele  <thomas at apestaart dot org>

	* configure.ac:
	  fix test by finding base plugins

1499
2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1500 1501 1502 1503 1504

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

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

	* 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).

1512
2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1513 1514 1515 1516 1517 1518 1519 1520 1521

	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

1522
2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1523 1524 1525 1526 1527 1528 1529 1530 1531

	* 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).

1532 1533 1534 1535 1536
2006-05-08  Edward Hervey  <edward@fluendo.com>

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

1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553
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

1554 1555 1556 1557 1558 1559 1560
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.

1561
2006-05-02  Tim-Philipp Müller  <tim at centricular dot net>
1562 1563 1564 1565 1566 1567 1568

	* 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).

1569 1570 1571 1572 1573
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.

1574 1575
2006-04-21  Andy Wingo  <wingo@pobox.com>

1576 1577 1578 1579
	* 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.

1580 1581 1582
	* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Up the rank
	of the dv video decoder.

1583 1584 1585 1586 1587 1588 1589 1590 1591 1592
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.

1593 1594 1595 1596 1597 1598 1599
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.

1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620
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.

1621 1622 1623 1624 1625 1626
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.
1627
	Closing (#331323)
1628

1629 1630 1631 1632 1633
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.

1634 1635 1636 1637 1638 1639 1640
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)

1641 1642 1643 1644 1645
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
1646 1647 1648
2006-04-08  Wim Taymans  <wim@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
1649
	Some other formats, still commented out, though.
Wim Taymans's avatar
Wim Taymans committed
1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667

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.

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

	* 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_*.

1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691
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
1692 1693 1694 1695 1696
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
1697 1698 1699 1700 1701 1702 1703
=== release 0.10.1 ===

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

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

1704 1705 1706 1707 1708 1709 1710 1711 1712
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.

1713
2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
1714 1715 1716 1717 1718 1719 1720

	* 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.

1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739
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
	

1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754
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

1755 1756 1757 1758 1759 1760 1761 1762
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

1763
2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
1764 1765 1766 1767 1768

	* 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
1769 1770 1771 1772 1773 1774
2006-02-24  Michael Smith  <msmith@fluendo.com>

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

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

	* 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
1781
	Based on patch by: Fabrizio Gennari
1782 1783 1784
	* 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
1785
	  accordingly if there's a palette (fixes #327028)
1786

1787 1788 1789 1790 1791 1792 1793
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.

1794 1795 1796 1797 1798 1799
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)

1800 1801 1802 1803 1804 1805 1806 1807 1808
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.

1809 1810 1811 1812 1813 1814 1815
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

1816 1817 1818 1819 1820 1821
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.

1822 1823 1824 1825 1826 1827 1828 1829 1830
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

1831 1832 1833 1834 1835
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.

1836 1837 1838 1839 1840 1841 1842
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.

1843 1844 1845 1846 1847 1848
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...

1849 1850 1851 1852 1853 1854
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.

1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866
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.

1867 1868 1869 1870 1871 1872 1873
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.

1874 1875 1876 1877 1878 1879
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

1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899
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.

1900 1901 1902 1903 1904
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.

1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918
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.

1919
2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
1920 1921 1922 1923

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

1924 1925
2006-02-03  Edgard Lima <edgard.lima@indt.org.br>

1926 1927
	* ext/ffmpeg/gstffmpegenc.c:
	  Just make it compile with --disable-gst-debug.
1928
			
1929 1930 1931 1932 1933
2006-02-02  Andy Wingo  <wingo@pobox.com>

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

1934 1935 1936 1937 1938 1939 1940
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

1941 1942 1943 1944 1945
2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>

	* configure.ac:
	  fix build of deinterlace

1946 1947 1948 1949 1950 1951
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.

1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967
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

1968
2006-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1969 1970 1971 1972 1973 1974

	* 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.

1975 1976 1977 1978 1979 1980 1981 1982
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 :(

1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996
2006-01-20  Martin Zlomek from Itonis (michael.benes@xeris.cz)

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

	* ext/ffmpeg/Makefile.am:
	* ext/ffmpeg/gstffmpeg.c: (plugin_init):
	* ext/ffmpeg/gstffmpegdeinterlace.c:
	(gst_ffmpegdeinterlace_base_init),
	(gst_ffmpegdeinterlace_class_init),
	(gst_ffmpegdeinterlace_sink_setcaps), (gst_ffmpegdeinterlace_init),
	(gst_ffmpegdeinterlace_chain), (gst_ffmpegdeinterlace_register):
	ffdeinterlace port to 0.10.
	Could be made a subclass of GstBaseTransform later on...

1997 1998 1999 2000 2001 2002 2003 2004
2006-01-20  Michal Benes  <michael.benes@xeris.cz>

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

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_audio): 
	Caps weren't set on outgoing audio buffers.
	Closes #327861

2005 2006 2007 2008 2009 2010
2006-01-17  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
	Memleak fix.
	Closes #326704

2011 2012 2013 2014 2015 2016
2006-01-17  Edward Hervey  <edward@fluendo.com>

	* configure.ac:
	Add --with-pkg-config-path argument.
	Closes #319248

2017 2018
2006-01-12  Andy Wingo  <wingo@pobox.com>

2019 2020
	* libavcodec/utils.c: Fix for CVE-2005-4048 (bugzilla bug
	#324209), buffer overflow with small PNG images with palettes.
2021
	Patch by: Loïc Minier <lool+gnome at via.ecp.fr>
2022

2023
	* libavutil/Makefile.am (INCLUDES): Add ALTIVEC_CFLAGS here, fixes
Andy Wingo Wingo's avatar
Andy Wingo Wingo committed
2024
	compilation on ppc (#320238).
2025

2026 2027 2028 2029 2030 2031
2006-01-11  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
	Add exception for Indeo3 keyframe detection until upstream ffmpeg
	behaves properly.

2032 2033 2034 2035 2036 2037 2038
2005-12-19  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
	Update ffmpeg_codec_id <=> mimetype conversions
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
	Finer grained keyframe detection

2039
2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2040

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2041 2042
	Patch by: Sebastien Cote
	Patch by: Luca Ognibene
2043 2044 2045 2046 2047 2048 2049 2050 2051
	* ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_avcodec_open),
	(gst_ffmpeg_avcodec_close):
	* ext/ffmpeg/gstffmpeg.h:
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
	(gst_ffmpegdec_open):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_dispose),
	(gst_ffmpegenc_getcaps), (gst_ffmpegenc_setcaps),
	(gst_ffmpegenc_change_state):
	  Do proper locking around avcodec_open() and avcodec_close()
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2052
	  (fixes #322254)
2053

2054
2005-12-10  Tim-Philipp Müller  <tim at centricular dot net>
2055 2056 2057 2058 2059

	* gst-libs/ext/Makefile.am:
	  We need to use $(MAKE) here instead of 'make' (on some
	  systems it's gmake that needs to be called, for example)

2060 2061 2062 2063 2064 2065 2066
2005-12-07  Edward Hervey  <edward@fluendo.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
	So, stupid ffmpeg.... Not all [en|de]coders set AVFrame->type.
	This should handle the case where AVFrame->reference is set to 1 (which
	is the equivalent of a keyframe).
	Also fixes #323286.
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2067 2068
	I tried a truckload of other files with this modification and it didn't
	seem to break playback.
2069

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092
2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
	(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt),
	(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
	* ext/ffmpeg/gstffmpegcodecmap.h:
	* ext/ffmpeg/gstffmpegdeinterlace.c:
	(gst_ffmpegdeinterlace_pad_link), (gst_ffmpegdeinterlace_init),
	(gst_ffmpegdeinterlace_chain):
	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
	(gst_ffmpegenc_chain_audio):
	* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
	* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_write):
	* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_pad_link),
	(gst_ffmpegscale_init), (gst_ffmpegscale_chain),
	(gst_ffmpegscale_change_state):
	* ext/libpostproc/gstpostproc.c: (change_context), (change_mode),
	(gst_postproc_base_init), (gst_postproc_class_init),
	(gst_postproc_init), (gst_postproc_link), (gst_postproc_chain),
	(gst_postproc_change_state), (gst_postproc_set_property),
	(gst_postproc_get_property), (gst_postproc_register):
	  expand tabs

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2093 2094 2095 2096 2097 2098 2099
=== release 0.10.0 ===

2005-12-05   <thomas (at) apestaart (dot) org>

	* configure.ac:
	  releasing 0.10.0, "Rocamadour"

2100 2101 2102 2103 2104 2105 2106 2107
2005-12-05  Andy Wingo  <wingo@pobox.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer),
	(gst_ffmpegdec_frame):
	* ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_chain):
	* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_chain): Update for
	alloc_buffer changes.

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2108 2109 2110 2111 2112 2113 2114
=== release 0.9.7 ===

2005-12-01   <thomas (at) apestaart (dot) org>

	* configure.ac:
	  releasing 0.9.7, "Mein Hund Hat Keine Nase"

2115 2116 2117 2118 2119 2120 2121
2005-11-28  Julien MOUTTE  <julien@moutte.net>

	* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
	(gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
	(gst_ffmpegenc_setcaps), (gst_ffmpegenc_set_property),
	(gst_ffmpegenc_get_property): Add rtp-payload-size property.

2122
2005-11-28  Tim-Philipp Müller  <tim at centricular dot net>
2123 2124 2125 2126 2127 2128 2129 2130 2131 2132

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
	(gst_ffmpegdec_setcaps), (gst_ffmpegdec_add_pixel_aspect_ratio),
	(gst_ffmpegdec_negotiate):
	  Improve pixel aspect ratio handling when both the demuxer and the
	  decoder provide a pixel aspect ratio: if one of the two ratios is
	  1:1, use the other one; if both are non-1:1, use the one provided
	  by the decoder (fixes matroska starwars test files); also add some
	  locking here and there.

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2133 2134 2135 2136
2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>

	* configure.ac: back to HEAD

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2137 2138 2139 2140 2141 2142 2143
=== release 0.9.6 ===

2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>

	* configure.ac:
	  releasing 0.9.6, "Cold Cat"

2144 2145 2146 2147 2148
2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
	Updated API 

2149 2150 2151 2152 2153
2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>

	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
	Whoops - handle input video caps that don't have a framerate

2154 2155 2156 2157
2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>

	* HACKING:
	* ext/ffmpeg/gstffmpegcolorspace.c:
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2158 2159
	  Remove mentions of ffmpegcolorspace now that it's in 
	  gst-plugins-base
2160 2161

	* ext/ffmpeg/Makefile.am:
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2162
	  Link to gstreamer libraries
2163 2164 2165 2166
	* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
	(gst_ffmpegdec_close), (gst_ffmpegdec_setcaps),
	(gst_ffmpegdec_negotiate), (gst_ffmpegdec_frame):
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2167
	  Convert to fractional framerate
2168

2169 2170 2171 2172 2173
2005-11-22  Andy Wingo  <wingo@pobox.com>

	* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Run
	update-funcnames.

2174
2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2175 2176 2177 2178

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
	  Remove GST_STREAM_LOCK here, it is not needed any longer.

2179 2180 2181 2182 2183 2184 2185
2005-11-16  Luca Ognibene  <luogni@tin.it>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer):
	  My previous commit was not completly correct.. I've disabled
	our _get_buffer function until we make it work 100%. I've opened a bug
	(#321662) for this issue.

2186 2187 2188 2189 2190 2191 2192 2193 2194
2005-11-16  Luca Ognibene  <luogni@tin.it>

	* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
	(gst_ffmpegdec_frame):
	 Fix some segfaults while seeking. When i have unreffed 
	 the buffer in _release_buffer i should also set picture->opaque to
	 NULL otherwise sometimes it can be unreffed another time in
	 _frame causing an invalid read/write.

2195 2196 2197 2198 2199
2005-11-14  Andy Wingo  <wingo@pobox.com>

	* configure.ac (GST_PLUGIN_LDFLAGS): -no-undefined for better
	debugging, allows dll builds on windows. Fixes #316076.

2200
2005-11-14  Tim-Philipp Müller  <tim at centricular dot net>
2201 2202 2203 2204