releasing 0.10.5, "This little piggy went to market"
[platform/upstream/gstreamer.git] / ChangeLog
1 === release 0.10.5 ===
2
3 2008-09-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4
5         * NEWS:
6         * RELEASE:
7         * configure.ac:
8           releasing 0.10.5, "This little piggy went to market"
9
10 2008-09-03  Edward Hervey  <edward.hervey@collabora.co.uk>
11
12         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
13         Give the TrueSpeech audio codec a proper caps. This is now synchronized
14         with libriff in -base cvs.
15
16 2008-08-31  Edward Hervey  <edward.hervey@collabora.co.uk>
17
18         * configure.ac:
19         0.10.4.3 pre-release
20
21 2008-08-31  Edward Hervey  <edward.hervey@collabora.co.uk>
22
23         * ffmpegrev:
24         Adjust time of swscale checkout to ffmpeg revision being used.
25         * gst-libs/ext/Makefile.am:
26         Fix make distcheck
27
28 2008-08-29  Edward Hervey  <edward.hervey@collabora.co.uk>
29
30         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_finalize),
31         (gst_ffmpegdec_get_buffer), (gst_ffmpegdec_frame):
32         Finalizing a decoder that was never used shouldn't trigger an assertion.
33         Add debug messages for the two other g_assert_if_reached().
34
35 2008-08-29  Edward Hervey  <edward.hervey@collabora.co.uk>
36
37         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_aud_caps_new):
38         Instead of marking all audio decoders/encoders as accepting up to 6
39         channels, we white-list those for which we are sure they can handle
40         those 6 channels.
41         Fixes #549799
42
43 2008-08-28  Michael Smith <msmith@songbirdnest.com>
44
45         * ext/ffmpeg/gstffmpegdemux.c:
46           gst_pad_template_new() takes ownership of caps; ref them beforehand
47           since we want to keep using them afterwards.
48
49 2008-08-28  Edward Hervey  <edward.hervey@collabora.co.uk>
50
51         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_aud_caps_new):
52         ffmpeg audio decoders can now do up to 6 channels... and actually
53         expose it properly. Don't expect any channel mapping though.
54
55 2008-08-28  Edward Hervey  <edward.hervey@collabora.co.uk>
56
57         * configure.ac:
58         Slim down the build of 'prefered' ffmpeg snapshot to disable compilation
59         of things we don't need.
60         * ffmpegrev:
61         Update our 'prefered' ffmpeg snapshot to rev 15004. This has the fix for a nasty
62         wma2 decoding regression.
63
64 2008-08-18  Thijs Vermeir  <thijsvermeir@gmail.com>
65
66         * configure.ac:
67         Check if bz2 is installed (#548304)
68
69 2008-08-12  Jan Schmidt  <jan.schmidt@sun.com>
70
71         * configure.ac:
72         0.10.4.2 pre-release.
73
74         * docs/Makefile.am:
75         Disable recursion into the plugins docs directory - there's no
76         docs in there anyway, and it breaks distcheck.
77
78 2008-08-01  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
79
80         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_fill_context):
81         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
82         Latest ffmpeg revision's avcodec_close frees more; use safer coding to
83         prevent double free and other related segfaults.
84
85 2008-07-28  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
86
87         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
88         Recognize video/x-raw-gray and map to proper pixfmt.
89         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps),
90         (gst_ffmpegenc_chain_video):
91         Fail negotiation if pixfmt cannot be determined from input caps.
92         Prevent segfault accessing non-existant coded_frame, provide some
93         warning debug output instead.
94
95 2008-07-23  Edward Hervey  <edward.hervey@collabora.co.uk>
96
97         * ffmpegrev:
98         Updating to today's ffmpeg upstream revision, mostly to fix a security
99         issue.
100
101 2008-07-11  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
102
103         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
104         Prevent likely segfault on EMPTY provided caps.
105
106 2008-07-06  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
107
108         Based on a patch by: Aurelien Grimaud <gstelzz at yahoo dot fr>
109
110         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
111         Properly convert buffer duration to an ffmpeg packet duration.
112         Fixes #371939.
113
114 2008-07-01  Jan Schmidt  <jan.schmidt@sun.com>
115
116         * ext/ffmpeg/gstffmpegdec.c:
117         If ffmpeg reports 0 bytes of input data consumed, don't break out
118         unless it also didn't produce any output. Fixes the audio in #377400
119         and doesn't break anything else I've tested.
120
121         Enable the mp3 parser, and set mp3 and mpeg2-video decoding autoplug
122         at marginal level, as they seem to both work fine now.
123
124 2008-06-13  Edward Hervey  <edward.hervey@collabora.co.uk>
125
126         * ext/ffmpeg/gstffmpegcodecmap.c:
127         (gst_ffmpeg_formatid_get_codecids):
128         MP4 does not allow H263 and AMR.
129
130 2008-06-13  Edward Hervey  <edward.hervey@collabora.co.uk>
131
132         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
133         (gst_ffmpeg_get_codecid_longname):
134         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
135         (gst_ffmpegdec_register):
136         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
137         (gst_ffmpegenc_register):
138         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
139         FFMpeg now provides proper long_name for AVCodec, remove our
140         internal mapping and directly use upstream naming.
141         Improve debugging messages.
142         Remove g_warning() which isn't really needed.
143         Add mapping for new codecs (MPC8, DNXHD, MIMIC, VMNC)
144
145 2008-06-13  Edward Hervey  <edward.hervey@collabora.co.uk>
146
147         * ext/ffmpeg/Makefile.am:
148         * ffmpegrev:
149         Bump upstream ffmpeg revision to todays (rev 13766).
150         ffmpeg now requires libbz2.
151
152 2008-05-26  Wim Taymans  <wim.taymans@collabora.co.uk>
153
154         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
155         Set flv demuxer to rank NONE, we have a better, working demuxer in -bad
156         and we don't want any bug reports about this one. Fixes #534783.
157
158 2008-05-26  Wim Taymans  <wim.taymans@collabora.co.uk>
159
160         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_vid_caps_new),
161         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_with_codecid):
162         Add more specific width/height for DV video so that it negotiates more
163         automatically.
164         Try to avoid accessing NULL caps.
165
166         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
167         Add some more debuggin to the caps generation.
168
169 2008-05-26  Sebastian Dröge  <slomo@circular-chaos.org>
170
171         * Makefile.am:
172         Dist autogen.sh. Fixes bug #534371.
173
174 2008-05-26  Sebastian Dröge  <slomo@circular-chaos.org>
175
176         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
177         Explicitely disable the AAC decoders as they don't work very well
178         and we have better alternatives. Fixes bug #534392.
179
180 2008-05-26  Sebastian Dröge  <slomo@circular-chaos.org>
181
182         Patch by:
183             Hans de Goede <j dot w dot r degoede at hhs dot nl>
184
185         * configure.ac:
186         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
187         * ext/ffmpeg/gstffmpegcodecmap.h:
188         * ext/ffmpeg/gstffmpegdec.c: (get_output_buffer):
189         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
190         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
191         Use av_picture_copy() instead of libswscale to copy pictures. This
192         removes the swscale dependency and is faster. Fixes bug #534390.
193
194 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
195
196         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find),
197           (gst_ffmpegdemux_register):
198           Explicitly disable 'raw' mpeg-ts typefinder as well; better debug logging
199           for the gst-ffmpeg typefinders. (#533708).
200
201 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
202
203         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_query_list),
204           (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_get_stream),
205           (gst_ffmpegdemux_open):
206           Implement SEEKING query, so players such as totem can query
207           seekability. Fix a comment typo or two.
208
209 2008-05-25  Jan Schmidt  <jan.schmidt@sun.com>
210
211         * configure.ac:
212         Back to development -> 0.10.4.1
213
214 === release 0.10.4 ===
215
216 2008-05-21  Jan Schmidt <jan.schmidt@sun.com>
217
218         * configure.ac:
219           releasing 0.10.4, "A jump to the left"
220
221 2008-05-20  Jan Schmidt  <jan.schmidt@sun.com>
222
223         * configure.ac:
224         0.10.3.3 pre-release
225
226 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
227
228         * configure.ac:
229         * ext/ffmpeg/gstffmpegcodecmap.c:
230         * ext/ffmpeg/gstffmpegdemux.c:
231         * ext/libpostproc/gstpostproc.c:
232         Fix build with (Debian's) system ffmpeg. Fixes bug #532803.
233
234 2008-05-13  Edward Hervey  <edward.hervey@collabora.co.uk>
235
236         * configure.ac:
237         0.10.3.2 pre-release
238
239 2008-05-13  Edward Hervey  <edward.hervey@collabora.co.uk>
240
241         * docs/plugins/gst-ffmpeg-plugins.args:
242         * docs/plugins/gst-ffmpeg-plugins.hierarchy:
243         * docs/plugins/gst-ffmpeg-plugins.interfaces:
244         * docs/plugins/gst-ffmpeg-plugins.prerequisites:
245         * docs/plugins/inspect/plugin-ffmpeg.xml:
246         Update docs
247
248 2008-05-12  Edward Hervey  <edward.hervey@collabora.co.uk>
249
250         * gst-libs/ext/Makefile.am:
251         More fixes for make dist
252
253 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
254
255         * ffmpegrev:
256         Update to today's upstream ffmpeg. No visible regressions.
257
258 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
259
260         * configure.ac:
261         * gst-libs/ext/Makefile.am:
262         More fixes for make dist.
263
264 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
265
266         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_img_convert):
267         Replace usage of img_convert (deprecated) by sws_scale.
268         Fixes #529015
269
270 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
271
272         * configure.ac:
273         Fix doc-building and make dist.
274
275 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
276
277         * gst-libs/ext/Makefile.am:
278         Don't copy file which is no longer present.
279
280 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
281
282         * ext/ffmpeg/gstffmpegaudioresample.c:
283         (gst_ffmpegaudioresample_class_init),
284         (gst_ffmpegaudioresample_init),
285         (gst_ffmpegaudioresample_transform_caps),
286         (gst_ffmpegaudioresample_transform_size),
287         (gst_ffmpegaudioresample_get_unit_size),
288         (gst_ffmpegaudioresample_set_caps),
289         (gst_ffmpegaudioresample_transform):
290         small gst-indent run.
291
292 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
293
294         * gst-libs/ext/Makefile.am:
295         Use 'make clean' and not 'make dist-clean' for local cleanups.
296         Fixes #519235
297
298 2008-05-07  Edward Hervey  <edward.hervey@collabora.co.uk>
299
300         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
301         (gst_ffmpegdec_register):
302         Previous commit in fact broke playback for standard wmv3.
303         Instead make both ffdec_vc1 and ffdec_wmv3 accept any wmv3 variant and
304         figure out the proper codecid when opening the ffmpeg decoder.
305
306 2008-05-07  Edward Hervey  <edward.hervey@collabora.co.uk>
307
308         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
309         (gst_ffmpegdec_video_frame), (gst_ffmpegdec_register):
310         Bump the priority of VC1 decoder so that it goes before the WMV3
311         decoder. This allows proper auto-pluggin with decodebin/playbin.
312         Fixes #531857
313
314 2008-05-06  Edward Hervey  <edward.hervey@collabora.co.uk>
315
316         Patch by: Gabriel Bouvigne  <bouvigne at mp3-tech dot org>
317         * ext/libpostproc/gstpostproc.c:
318         Support for non-I420 colorspaces in postproc
319         Fixes #496127
320
321 2008-04-21  Edward Hervey  <edward@collabora.co.uk>
322
323         Patch by: Dejan Sakelšak <sakdean at gmail dot com>
324         * autogen.sh:
325         Check for Subversion presence.
326         Fixes #511011
327
328 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
329
330         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
331         (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_caps_to_codecid),
332         (gst_ffmpeg_get_codecid_longname):
333         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
334         Add support for MusePack StreamVersion 7 and disable the StreamVersion
335         8 typefinder. Fixes bug #510745.
336
337 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
338
339         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
340         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_to_caps),
341         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
342         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
343         Add support for Monkey's Audio (APE). Fixes bug #518033.
344
345 2008-04-15  Andy Wingo  <wingo@pobox.com>
346
347         * ext/libpostproc/gstpostproc.c (gst_post_proc_transform_ip): Fix
348         some mistyping when calling pp_postprocess.
349         (gst_post_proc_transform_ip): Revert my patch, it was the badness.
350
351 2008-04-14  Andy Wingo  <wingo@pobox.com>
352
353         * autogen.sh:
354         * ffmpegrev (FFMPEG_EXTERNALS_UPDATE): Because ffmpeg checks out
355         libswscale via an svn:externals, checking out an old ffmpeg does
356         not check out a corresponding libswscale. Keep the swscale
357         checkout manually synchronized, then. Update this when you update
358         FFMPEG_REVISION.
359
360 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
361
362         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
363
364         * configure.ac:
365         Actually build dlls when cross-compiling with mingw32.
366         Fixes bug #526247.
367
368 2008-04-03  Edward Hervey  <edward.hervey@collabora.co.uk>
369
370         * ffmpegrev: Bump upstream ffmpeg revision to todays
371         * configure.ac: Fix configure for build modification in upstream
372         * ext/libpostproc/gstpostproc.c: (gst_post_proc_transform_ip):
373         Fix build for modifications in upstream
374
375 2008-03-18  Andy Wingo  <wingo@pobox.com>
376
377         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Only drain
378         if we've already set up a codec.
379
380 2008-03-17  Andy Wingo  <wingo@pobox.com>
381
382         * ext/ffmpeg/Makefile.am (libgstffmpeg_la_LIBADD): Re-add -lz
383         explicitly here.
384
385         * configure.ac: Remove -lz from FFMPEG_LIBS, because FFMPEG_LIBS
386         are used in the Makefile.am as a DEPENDENCIES target, and -lz is
387         not a target. Also in a blahriffic turn of events, MMX and Altivec
388         code on MacOS 10.5 produces non-PIC code. Turn them off on macos.
389
390 2008-03-11  Wim Taymans  <wim.taymans@collabora.co.uk>
391
392         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
393         When we receive a newsegment event, we must drain any pending frames
394         because they belong to the previous segment. This fixes some cases of
395         very large timestamps when doing segment seeks.
396
397 2008-03-06  Wim Taymans  <wim.taymans@collabora.co.uk>
398
399         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
400         (get_output_buffer), (gst_ffmpegdec_video_frame),
401         (gst_ffmpegdec_chain):
402         Work around an ffmpeg bug where it always returns 0 timestamps.
403
404 2008-03-06  Michael Smith <msmith@fluendo.com>
405
406         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps):
407           Fix masks for RGBA32 caps. Fixes colours when decoding using
408           ffdec_qtrle. Follows an identical fix in the ffmpegcolorspace copy of
409           this code (revision 1.29).
410
411 2008-03-05  Wim Taymans  <wim.taymans@collabora.co.uk>
412
413         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
414         (gst_ffmpegdec_setcaps), (check_keyframe),
415         (gst_ffmpegdec_video_frame), (gst_ffmpegdec_sink_event),
416         (gst_ffmpegdec_set_property):
417         Detect DTS or PTS as timestamps. This is done by tracking frame
418         reordering on the output and making sure that timestamps don't go
419         backwards. Fixes #482660.
420
421 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
422
423         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
424
425         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
426         (gst_ffmpegdec_init), (gst_ffmpegdec_setcaps),
427         (gst_ffmpegdec_set_property), (gst_ffmpegdec_get_property):
428         Add property for controlling of motion vectors. Fixes #515811.
429         API: GstFFMpegDec::debug-mv
430
431 2008-02-08  Edward Hervey  <edward.hervey@collabora.co.uk>
432
433         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
434         Don't try handling a buffer if downstream allocation failed.
435         Avoids crashes and Fixes #515205
436
437 2008-01-29  Wim Taymans  <wim.taymans@collabora.co.uk>
438
439         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
440         Don't blindly copy input timestamp to output timestamp but prefer the
441         one attached to the picture when we can.
442         Add new variables for the output timestamp and duration to make the code
443         a little more clear.
444
445 2008-01-26  Sebastian Dröge  <slomo@circular-chaos.org>
446
447         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
448         Initialize hurry_up to 0 to fix "might be used uninitialized"
449         compiler warning.
450
451 2008-01-25  Wim Taymans  <wim.taymans@collabora.co.uk>
452
453         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
454         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_video_frame):
455         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
456         When doing QoS, don't drop the frame before decoding because we might
457         drop an important reference frame, just make the decoder hurry_up on
458         this frame.
459
460 2008-01-25  Wim Taymans  <wim.taymans@collabora.co.uk>
461
462         * ext/ffmpeg/gstffmpegcodecmap.c:
463         (gst_ffmpeg_formatid_get_codecids):
464         Add H263+ to valid 3GP muxing formats. Fixes #511476.
465
466 2008-01-23  Wim Taymans  <wim.taymans@collabora.co.uk>
467
468         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
469         (gst_ffmpegdec_init), (get_output_buffer), (gst_ffmpegdec_chain),
470         (gst_ffmpegdec_change_state), (gst_ffmpegdec_set_property),
471         (gst_ffmpegdec_get_property):
472         Add padding to input data before feeding it to ffmpeg. Also add option
473         to disable this (although it does not seem to cause slowdown).
474
475 2008-01-23  Wim Taymans  <wim.taymans@collabora.co.uk>
476
477         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
478         (alloc_output_buffer), (gst_ffmpegdec_get_buffer),
479         (gst_ffmpegdec_release_buffer), (gst_ffmpegdec_negotiate),
480         (get_output_buffer):
481         Change the pad_alloc calculations for weird clipped sizes, refactor the
482         code a bit.
483         Add support for some different refcounting algorithm. 
484         Direct rendering still disabled by default.
485
486 2008-01-22  Edward Hervey  <edward.hervey@collabora.co.uk>
487
488         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init):
489         Disable direct-rendering by default until buffer allocation works
490         correctly.
491         Rename the alias of the direct rendering property from 'direct' to
492         'direct-rendering'.
493
494 2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>
495
496         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
497         (gst_ffmpegdec_get_buffer):
498         Disable direct rendering for h264 since it does not always work.
499
500 2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>
501
502         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_set_property),
503         (gst_ffmpegdec_get_property):
504         Implement get/set for the new property too.
505
506 2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>
507
508         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
509         (gst_ffmpegdec_init), (gst_ffmpegdec_close), (gst_ffmpegdec_open),
510         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_get_buffer),
511         (gst_ffmpegdec_release_buffer), (get_output_buffer),
512         (gst_ffmpegdec_video_frame), (gst_ffmpegdec_audio_frame),
513         (gst_ffmpegdec_frame), (gst_ffmpegdec_change_state),
514         (gst_ffmpegdec_set_property), (gst_ffmpegdec_get_property):
515         Reenable pad_alloc, seem to work now.
516         Added property to easily disable it later on.
517         Remove some old code that tried hard to break the get_buffer
518         functions. Fixes #321662.
519
520 2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>
521
522         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
523         Add h263 to the list of codecs using the mpeg flags and options.
524         Add some more H263 specific flags. Fixes #421068.
525
526 2008-01-22  Sebastian Dröge  <slomo@circular-chaos.org>
527
528         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
529         Don't register typefinders for which we have better replacements
530         in base. Fixes bug #510985.
531
532 2008-01-21  Wim Taymans  <wim.taymans@collabora.co.uk>
533
534         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
535         (gst_ffmpegdec_chain):
536         Remove some more overly clever code that does nothing but mess up
537         timestamps.
538
539 2008-01-18  Wim Taymans  <wim.taymans@collabora.co.uk>
540
541         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_drain),
542         (gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
543         Flush delayed frames on DISCONT if we have them.
544
545 2008-01-18  Wim Taymans  <wim.taymans@collabora.co.uk>
546
547         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
548         (gst_ffmpegdec_chain):
549         Flush on DISCONT because ffmpeg does not reliably tell us about
550         keyframes.
551
552 2008-01-18  Wim Taymans  <wim.taymans@collabora.co.uk>
553
554         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
555         (gst_ffmpegdec_open), (gst_ffmpegdec_get_buffer),
556         (gst_ffmpegdec_release_buffer), (gst_ffmpegdec_video_frame),
557         (gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
558         Rewrite timestamping code to let ffmpeg track timestamps.
559         Fixes #482660, #337866.
560
561 2008-01-16  Wim Taymans  <wim.taymans@collabora.co.uk>
562
563         * ext/ffmpeg/gstffmpegdec.c: (clear_queued), (flush_queued),
564         (gst_ffmpegdec_video_frame), (gst_ffmpegdec_frame),
565         (gst_ffmpegdec_sink_event), (gst_ffmpegdec_change_state):
566         Add basic reverse playback for video.
567
568 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
569
570         * autogen.sh:
571           Add -Wno-portability to the automake parameters to stop warnings
572           about GNU make extensions being used. We require GNU make in almost
573           every Makefile anyway.
574           
575         * configure.ac:
576           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
577           at the same time is required for per target flags.
578
579 2008-01-09  Edward Hervey  <edward.hervey@collabora.co.uk>
580
581         * configure.ac:
582         postproc needs some headers present in libavcodec/*.h
583
584 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
585
586         * gst-libs/ext/Makefile.am:
587           Remove trailing whitespace as warned by automake.
588
589 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
590
591         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
592         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
593         Don't register the WavPack demuxer and decoder. They don't work,
594         we have better ones and the output of the demuxer/input of the
595         decoder is in a different format than what audio/x-wavpack of the
596         wavpack plugin is (it seems that the demuxer strips of the wavpack
597         headers from every frame).
598
599         This fixes typefinding of Wavpack files again, as the ffmpeg
600         typefinder was preffered for some reason and gave
601         application/x-gst_ff-wv instead of audio/x-wavpack.
602
603 2007-12-18  Edward Hervey  <edward.hervey@collabora.co.uk>
604
605         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
606         Fix demuxer to stop properly (emit an error message on the bus) if no
607         pads are linked. Use aggregated flow return values a bit more.
608
609 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
610
611         * Makefile.am:
612           Include common/win32.mak for CRLF check of win32 project
613           files (see #393626).
614
615 2007-12-17  Sebastian Dröge  <slomo@circular-chaos.org>
616
617         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
618         (gst_ffmpeg_formatid_get_codecids),
619         (gst_ffmpeg_get_codecid_longname):
620         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop),
621         (gst_ffmpegdemux_register):
622         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected),
623         (gst_ffmpegmux_register):
624         Add GIF (animations and single images) decoding and encoding support.
625         Fixes #503249.
626
627 2007-12-17  Edward Hervey  <edward.hervey@collabora.co.uk>
628
629         * configure.ac:
630         Minor typo in disabling cavs decoder. Now compiles AND works on x86 32
631         and 64 bits ! Time to merge :)
632
633 2007-12-17  Edward Hervey  <edward.hervey@collabora.co.uk>
634
635         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
636         (gst_ffmpeg_caps_to_codecid):
637         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open):
638         Handle VC-1 properly , which is handled differently from WMV3.
639
640 2007-12-17  Edward Hervey  <edward.hervey@collabora.co.uk>
641
642         * autogen.sh:
643         Fix call to ffmpegrev
644         * configure.ac:
645         Re-apply -fPIC extra-cflag for ffmpeg while removing support for the
646         flac encoder which is currently broken for x86/32bits with -fPIC.
647         * ffmpegrev:
648         Switch to latest upstream revision so we can have the split-up for
649         flac mmx optimizations.
650
651 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
652
653         Based on a patch by:
654             Hans de Goede <j dot w dot r degoede at hhs dot nl>
655
656         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_pre_me_get_type),
657           (gst_ffmpeg_pred_method_get_type):
658           NULL-terminate the GEnumValue arrays, otherwise they will cause
659           crashes. Fixes #503733.
660
661 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
662
663         * configure.ac:
664           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
665
666 2007-11-28  Edward Hervey  <bilboed@bilboed.com>
667
668         * configure.ac:
669         Temporarily remove fPIC option for building ffmpeg
670         * ffmpegrev:
671         Switch to latest ffmpeg checkout so people can enjoy all the niceties
672         that have just landed (mmx optimisations for vc1 and h263, bugfixes,..)
673         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected),
674         (gst_ffmpegmux_change_state):
675         Adjust code to ffmpeg API changes.
676
677 2007-11-22  Edward Hervey  <bilboed@bilboed.com>
678
679         * ext/ffmpeg/gstffmpegaudioresample.c:
680         (gst_ffmpegaudioresample_get_unit_size),
681         (gst_ffmpegaudioresample_transform):
682         Correct the output size of the buffer.
683
684 2007-11-15  Edward Hervey  <bilboed@bilboed.com>
685
686         * ext/ffmpeg/Makefile.am:
687         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
688         * ext/ffmpeg/gstffmpeg.h:
689         * ext/ffmpeg/gstffmpegaudioresample.c:
690         (gst_ffmpegaudioresample_base_init),
691         (gst_ffmpegaudioresample_class_init),
692         (gst_ffmpegaudioresample_init), (gst_ffmpegaudioresample_finalize),
693         (gst_ffmpegaudioresample_transform_caps),
694         (gst_ffmpegaudioresample_transform_size),
695         (gst_ffmpegaudioresample_get_unit_size),
696         (gst_ffmpegaudioresample_set_caps),
697         (gst_ffmpegaudioresample_transform),
698         (gst_ffmpegaudioresample_register):
699         Added new ffaudioresample element using the ffmpeg resampling code.
700         It's (way) faster than audioresample, doesn't introduce latency, but
701         might cause a little bit of 'clicking'.
702
703 2007-11-15  Edward Hervey  <bilboed@bilboed.com>
704
705         * Makefile.am:
706         * autogen.sh:
707         * configure.ac:
708         * ext/ffmpeg/Makefile.am:
709         * ffmpegrev:
710         * gst-libs/ext/Makefile.am:
711         Initial patch of the new mirror-less build-system for gst-ffmpeg using
712         specific revisions of ffmpeg svn instead.
713         Might still have some issues, we need people to try this.
714         Help by : Dejan SakelÅ¡ak  <sakdean at gmail dot com>
715         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
716         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
717         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
718         (gst_ffmpeg_get_codecid_longname):
719         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
720         (gst_ffmpegdec_get_buffer), (gst_ffmpegdec_audio_frame),
721         (gst_ffmpegdec_register):
722         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
723         (gst_ffmpegdemux_register):
724         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
725         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
726         Update code for new ffmpeg API.
727
728 2007-12-04  Edward Hervey  <bilboed@bilboed.com>
729
730         * configure.ac:
731         And back to development cycle.
732
733 === release 0.10.3 ===
734
735 2007-12-04  Edward Hervey  <bilboed@bilboed.com>
736
737         * configure.ac:
738         * NEWS:
739         * RELEASE:
740           releasing 0.10.3, "My T-Shirt is slowly fading"
741
742 2007-11-28  Edward Hervey  <bilboed@bilboed.com>
743
744         * configure.ac:
745         0.10.2.2 pre-release
746
747 2007-11-08  Edward Hervey  <bilboed@bilboed.com>
748
749         Patch by: Ole André Vadla Ravnås <ole dot andre dot ravnas at tandberg dot com>
750
751         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
752         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_init):
753
754 2007-11-03  Edward Hervey  <bilboed@bilboed.com>
755
756         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_avcodec_open),
757         (gst_ffmpeg_avcodec_close), (gst_ffmpeg_av_find_stream_info),
758         (gst_ffmpeg_log_callback), (plugin_init):
759         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_mb_decision_get_type),
760         (gst_ffmpeg_flags_get_type), (gst_ffmpeg_cfg_init),
761         (gst_ffmpeg_cfg_codec_has_pspec),
762         (gst_ffmpeg_cfg_install_property), (gst_ffmpeg_cfg_set_property),
763         (gst_ffmpeg_cfg_get_property), (gst_ffmpeg_cfg_set_defaults),
764         (gst_ffmpeg_cfg_fill_context), (gst_ffmpeg_cfg_finalize):
765         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
766         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
767         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_save_incoming_values),
768         (gst_ffmpegdec_get_best_values), (gst_ffmpegdec_video_frame):
769         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
770         (gst_ffmpegdemux_src_query):
771         * ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
772         (gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers):
773         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
774         (gst_ffmpegdata_peek), (gst_ffmpegdata_read),
775         (gst_ffmpegdata_write), (gst_ffmpegdata_seek),
776         (gst_ffmpegdata_close):
777         gst-indent cleanup.
778
779 2007-10-12  Tim-Philipp Müller  <tim at centricular dot net>
780
781         * configure.ac:
782           Add big fat warning message with explanation when building
783           against an external copy of ffmpeg. Fixes #407779.
784
785 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
786
787         Patch by: Tuomas Kulve <tuomas dot kulve at movial dot fi>
788
789         * ext/ffmpeg/gstffmpegdec.c:
790         Fix the return type of the setcaps function. Fixes #485033.
791
792 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
793
794         Patch by: Yann Gilquin <yann dot gilquin at purplelabs dot com>
795
796         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event):
797         Don't return FALSE for the LATENCY event but instead forward it
798         upstream. Fixes #482946.
799
800 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
801
802         * tests/check/generic/libavcodec-locking.c:
803           Print message name and not just number.
804
805 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
806
807         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
808         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_get_codecid_longname):
809         Add Real Video 3.0 and remove some bogus caps.
810
811         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
812         (gst_ffmpegdec_video_frame):
813         When skipping because of QoS, pretend we consumed all bytes for the
814         frame so that the pcache's timestamp is updated correctly.
815
816 2007-08-14  Edward Hervey  <edward@fluendo.com>
817
818         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
819         Don't set rank of sp5x video decoder to NONE.
820         Fixes #466221
821         Re-order the cases of the switch statement so that the default case
822         is last.
823
824 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
825
826         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
827         Improve debugging of codec data.
828         realvideo caps are underspecified, use fields of alternative variant
829         before we settle this.
830
831         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
832         (gst_ffmpegdec_video_frame):
833         Add more debugging of used parsers.
834         Setup the realvideo slices correctly before calling the decoder, fixed
835         realvideo in matroska.
836
837 2007-08-01  Stefan Kost  <ensonic@users.sf.net>
838
839         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_install_property),
840         (gst_ffmpeg_cfg_finalize):
841         * ext/ffmpeg/gstffmpegcfg.h:
842         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_finalize),
843         (ffmpegenc_setup_working_buf), (gst_ffmpegenc_chain_video),
844         (gst_ffmpegenc_flush_buffers):
845           Free strings atleast when finalizing elements.
846         
847         * tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
848         (simple_launch_lines_suite):
849           Fix some leaks.
850
851 2007-08-01  Stefan Kost  <ensonic@users.sf.net>
852
853         * configure.ac:
854         * ext/ffmpeg/Makefile.am:
855           Check for libm and link against it (ffmpeg is using sqrt).
856
857 2007-07-25  Julien MOUTTE  <julien@moutte.net>
858
859         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
860         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop): Handle
861         buffers with invalid duration correctly even in the case where
862         we have a demuxer AND a decoder from ffmpeg linked.
863         Fixes: #460274.
864
865 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
866
867         * configure.ac:
868         * tests/Makefile.am:
869         Remove bogus check for libcheck, since we check for
870         gstreamer-check and it pulls in the required info from there, and we
871         weren't actually _using_ the information for libcheck ourselves
872         anyway.
873
874 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
875
876         * configure.ac:
877           Use pkg-config to locate check. Bump core requirement.
878
879         * ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_chain):
880         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform):
881           Replace deprecated method.
882           
883
884 2007-07-05  Jan Schmidt  <thaytan@mad.scientist.com>
885
886         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video),
887         (gst_ffmpegenc_flush_buffers):
888         Fix the encoders by actually copying the encoded output data from the
889         working area into the output buffer.
890         Fixes: #453135.
891
892 2007-06-22  Jan Schmidt  <thaytan@mad.scientist.com>
893
894         * ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
895         (gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers),
896         (gst_ffmpegenc_change_state):
897         * ext/ffmpeg/gstffmpegenc.h:
898         Instead of allocating 512KB buffers and then setting BUFFER_SIZE
899         to what ffmpeg produced, we're better off by far to use a single
900         working buffer and copy data out into neat little buffers.
901
902         This prevents exhorbitant virtual memory wastage in the form
903         of allocated but untouched buffers.
904
905 2007-06-20  Stefan Kost  <ensonic@users.sf.net>
906
907         * ext/ffmpeg/gstffmpegcodecmap.c:
908         (gst_ffmpeg_formatid_get_codecids):
909           Enable mjpeg-codec in more containers.
910
911 2007-06-19  Stefan Kost  <ensonic@users.sf.net>
912
913         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback):
914           Cut off double \n.
915
916         * ext/ffmpeg/gstffmpegcodecmap.c:
917         (gst_ffmpeg_formatid_get_codecids):
918           Enable more codecs in containers.
919
920 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
921
922         * win32/vs6/gst_ffmpeg.dsw:
923         * win32/vs6/libgstffmpeg.dsp:
924         Convert line endings to CRLF and mark files as binary.
925
926 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
927
928         * gst-libs/ext/ffmpeg/configure.ac:
929         * gst-libs/ext/ffmpeg/patches/autotools.patch:
930         * gst-libs/ext/ffmpeg/patches/memalign.patch:
931         Recognise x86_64 builds and set flags appropriately so that the
932         MMX/SSE codepaths get enabled there - makes things considerably
933         faster.
934
935 2007-06-05  Wim Taymans  <wim@fluendo.com>
936
937         Patch by: <bram at luon dot net>
938
939         * ext/ffmpeg/gstffmpegcodecmap.c:
940         (gst_ffmpeg_formatid_get_codecids):
941         Add MSMPEG4V3 video and MP3 audio to the asf muxer supported formats.
942         Fixes #444384.
943
944 2007-06-05  Wim Taymans  <wim@fluendo.com>
945
946         Patch by: Jan Arne Petersen <jpetersen at jpetersen dot org>
947
948         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_query):
949         Use total duration when the individual stream duration is not known.
950         Fixes #375534.
951
952 2007-06-05  Wim Taymans  <wim@fluendo.com>
953
954         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
955
956         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_handle_src_event):
957         don't leak refcounts in event handler. Fixes #444332.
958
959 2007-05-25  Wim Taymans  <wim@fluendo.com>
960
961         * ext/ffmpeg/gstffmpegdec.c: (clip_video_buffer),
962         (gst_ffmpegdec_video_frame):
963         Be a bit smarter when clipping the frame without a duration, we don't
964         want the frame to extend to the end of the segment in this case.
965
966 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
967
968         * configure.ac:
969           Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs
970           will be built or installed on MingW for our plugins in ext/; also,
971           it looks like the right thing to do and we do it for all our other
972           plugin modules as well. Fixes #440253.
973
974 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
975
976         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
977         Reduce the probability of the MPEG-TS typefinder, because there's a
978         better one in recent base releases.
979
980 2007-05-17  Edward Hervey  <edward@fluendo.com>
981
982         * configure.ac:
983         * ext/ffmpeg/Makefile.am:
984         * ext/libpostproc/Makefile.am:
985         Fix the build on MacOSX.
986         This requires a recent enough version of libtool (ex : 1.5.22), since
987         the one shipped by Apple is from the middle ages and is packed with
988         issues.
989         Fixes #435742
990
991 2007-05-09  Edward Hervey  <edward@fluendo.com>
992
993         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_av_find_stream_info):
994         * ext/ffmpeg/gstffmpeg.h:
995         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
996         Protect calls to ffmpeg functions that will implicitly call 
997         avcodec_open/close with the avcodec mutex.
998         Fixes #433245
999
1000 2007-05-02  Edward Hervey  <edward@fluendo.com>
1001
1002         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
1003         (gst_ffmpegdec_open), (gst_ffmpegdec_save_incoming_values),
1004         (gst_ffmpegdec_get_best_values), (gst_ffmpegdec_video_frame),
1005         (gst_ffmpegdec_sink_event):
1006         Fix timestamping for out-of-order incoming buffers. Instead of blindly
1007         copying the incoming buffer timestamps on the outgoing buffers we cache
1008         the latest 2 incoming buffer timestamps and duration and make a wise
1009         choice as to what the outgoing buffer timestamp and duration should be.
1010         Fixes #342962
1011
1012 2007-04-25  Edward Hervey  <edward@fluendo.com>
1013
1014         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1015         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
1016         Remove cruft inserted by wim's last commit.
1017
1018 2007-04-20  Michael Smith  <msmith@fluendo.com>
1019
1020         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
1021           Allow ffmpeg typefinders to try and typefind very short (<4kB)
1022           files.
1023
1024 2007-04-12  Wim Taymans  <wim@fluendo.com>
1025
1026         Patch by: Mark Nauwelaerts <manauw at skynet dot be> and
1027                   Thomas Vander Stichele  <thomas at apestaart dot org>
1028         
1029         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
1030         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1031         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
1032         (gst_ffmpeg_get_codecid_longname):
1033         Add the CODEC_FLAG_GLOBAL_HEADER to the exposed flags, and makes it as such
1034         configurable as a property. Fixes #393187.
1035
1036 2007-04-12  Wim Taymans  <wim@fluendo.com>
1037
1038         Patch by: Yves Lefebvre <ivanohe at abacom dot com>
1039
1040         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps):
1041         Draw edges for h264. Fixes #364139.
1042         Set the error resilience flag just in case...
1043
1044 2007-03-17  Johan Dahlin  <jdahlin@async.com.br>
1045
1046         * ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_get_codecid_longname): 
1047         Fix typo in Indeo-2 codec name
1048
1049 2007-03-02  Edward Hervey  <edward@fluendo.com>
1050
1051         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_init):
1052         Add mpeg1video and mpeg2video to the list of mpeg-derivatives for
1053         configuration settings.
1054         Renamed the mpeg4 category to mpeg.
1055         Fixes #403739
1056
1057 2007-03-01  Sebastian Dröge  <slomo@circular-chaos.org>
1058
1059         * configure.ac:
1060           Convert to new AG_GST style.
1061
1062 2007-02-16  Tim-Philipp Müller  <tim at centricular dot net>
1063
1064         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
1065         (gst_ffmpegdec_register):
1066         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
1067         (gst_ffmpegdemux_register):
1068         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
1069         (gst_ffmpegenc_register):
1070         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
1071         (gst_ffmpegmux_register):
1072           Don't use GINT_TO_POINTER and GPOINTER_TO_INT with GTypes, this
1073           can break horribly if sizeof(GType) happens to be bigger than
1074           sizeof(int), because GPOINTER_TO_INT might then chop off some bits
1075           of our GType (the reason this seems to works nevertheless is the
1076           put-current-type-also-as-value-0-into-the-hash-table-as-fallback
1077           hack used in the current code).
1078           In any case, instead of just fixing this, let's not use a hash table
1079           with GTypes here at all. g_type_{set|get}_qdata() seems to do the
1080           job just as well.
1081
1082 2007-02-14  Edward Hervey  <edward@fluendo.com>
1083
1084         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
1085         Typo fix.
1086
1087 2007-02-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1088
1089         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1090           My console is not your TODO list.
1091           If it were your TODO list, you would have DONE it by now.
1092
1093 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1094
1095         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
1096           ffmux_flv only accepts mpeg audio with a sample rate of 44100, 22050
1097           or 11025. Fix up the caps in the sink pad template accordingly, so
1098           that encoding piplines at least have a chance to automatically
1099           negotiate to one of the allowed rates.
1100
1101 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1102
1103         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
1104         (gst_ffmpegmux_setcaps), (gst_ffmpegmux_collected):
1105           Only set the mux->opened flag after we've successfully written the
1106           header. This way we don't crash in mysterious ways if we can't write
1107           the header for some reason (e.g. due to having accepted caps the
1108           format doesn't really allow), then return a GST_FLOW_ERROR, and
1109           then still receive another buffer afterwards despite having previously
1110           returned FLOW_ERROR (#403168).
1111           Also some minor logging improvements.
1112
1113 2007-01-26  Wim Taymans  <wim@fluendo.com>
1114
1115         Patch by: Mark Nauwelaerts <manauw@skynet.be>
1116
1117         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1118         register yuv4mpegpipe demuxer with MARGINAL rank to
1119         make it also typically available for auto-plugging. Fixes #399108.
1120
1121 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1122
1123         Patch by: Martin Szulecki  <gnomebugzilla at sukimashita com>
1124
1125         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1126         (gst_ffmpeg_caps_with_codecid):
1127           Need to set depth on context for camtasia decoder (fixes #398875).
1128
1129 2007-01-11  Wim Taymans  <wim@fluendo.com>
1130
1131         Patch by: Mark Nauwelaerts <manauw@skynet.be>
1132
1133         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
1134         Internally, ffmpeg (demuxer) expects YUV4MPEG version 2, this patch sets
1135         the caps correctly. Fixes #394071.
1136
1137 2007-01-10  Edward Hervey  <edward@fluendo.com>
1138
1139         Patch by: Mark Nauwelaerts <manauw@skynet.be>
1140
1141         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_perform_seek),
1142         (gst_ffmpegdemux_aggregated_flow), (gst_ffmpegdemux_get_stream),
1143         (gst_ffmpegdemux_loop):
1144         Check the aggregated return value of pushes downstream to figure out if
1145         we really need to stop the task or not.
1146         Fixes #394075
1147
1148 2007-01-09  Wim Taymans  <wim@fluendo.com>
1149
1150         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
1151         (gst_ffmpeg_set_palette), (gst_ff_vid_caps_new),
1152         (gst_ff_aud_caps_new), (gst_ffmpeg_codecid_to_caps),
1153         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
1154         (gst_ffmpeg_codectype_to_caps), (gst_ffmpeg_caps_to_pixfmt),
1155         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_to_caps),
1156         (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid),
1157         (gst_ffmpeg_init_pix_fmt_info), (gst_ffmpeg_avpicture_fill),
1158         (gst_ffmpeg_img_convert):
1159         * ext/ffmpeg/gstffmpegcodecmap.h:
1160         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
1161         (gst_ffmpegenc_register):
1162
1163         Use codecid as extra parameter when getting caps.
1164         Restrict H263 caps to allowed sizes for better negotiation.
1165         MP4/3gp can contain AMR-WB as well.
1166
1167         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1168         Indent.
1169
1170 2007-01-09  Wim Taymans  <wim@fluendo.com>
1171
1172         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
1173         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
1174         (get_output_buffer), (gst_ffmpegdec_video_frame),
1175         (clip_audio_buffer), (gst_ffmpegdec_audio_frame),
1176         (gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
1177         (gst_ffmpegdec_register):
1178         Use caps to clip output images. Fixes #341736
1179
1180 2007-01-08  Edward Hervey  <edward@fluendo.com>
1181
1182         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_me_method_get_type):
1183         Make the name of the motion-estimation method enum values meaningful.
1184
1185 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1186         
1187         * Makefile.am:
1188           Add win32/MANIFEST to EXTRA_DIST so win32 files will
1189           be include in the next release.
1190         * win32/MANIFEST:
1191           Add manifest to win32 files in next releases.
1192         * win32/vs6/gst_ffmpeg.dsw:
1193         * win32/vs6/libgstffmpeg.dsp:
1194           Add project files for VS6.
1195
1196 2007-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1197
1198         * configure.ac:
1199           actually properly define HAVE_FFMPEG_UNINSTALLED
1200           also use it as a conditional
1201         * ext/ffmpeg/Makefile.am:
1202           add a dep on the internal lib so the plugin gets rebuilt on
1203           code changes to the ffmpeg lib
1204
1205 2007-01-03  Tim-Philipp Müller  <tim at centricular dot net>
1206
1207         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
1208         (gst_ffmpegenc_finalize):
1209           Turn dispose function into finalize function to avoid double-frees
1210           and potential crashes caused by them in some circumstances.
1211           Fixes #392395.
1212
1213 2006-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1214
1215         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_smpfmt):
1216           The "signed" field in raw audio caps is of boolean type, trying to
1217           extract the value with _get_int() will fail.
1218
1219 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1220
1221         * configure.ac:
1222           fix quoting so it works for fedora autotools too
1223
1224 2006-12-15  Tim-Philipp Müller  <tim at centricular dot net>
1225
1226         * docs/Makefile.am:
1227         * tests/check/Makefile.am:
1228           Spaces => tab
1229
1230 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1231
1232         * Makefile.am:
1233         * gst-ffmpeg.doap:
1234         * gst-ffmpeg.spec.in:
1235           add doap file
1236
1237 2006-12-15  Jan Schmidt  <thaytan@mad.scientist.com>
1238
1239         * Makefile.am:
1240         * configure.ac:
1241         * ext/ffmpeg/Makefile.am:
1242         * ext/ffmpeg/gstffmpeg.c:
1243         * ext/ffmpeg/gstffmpegdemux.c:
1244         * ext/libpostproc/Makefile.am:
1245         * ext/libpostproc/gstpostproc.c:
1246
1247         Allow building against an external FFMpeg install. Fixes: #363363
1248         Patch by: Josselin Mouette <joss at debian dot org>
1249         When built against an external install, the plugin description will
1250         say "system install" instead of "local snapshot"
1251
1252 2006-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
1253
1254         * configure.ac:
1255         Back to CVS
1256
1257 === release 0.10.2 ===
1258
1259 2006-12-10  Jan Schmidt <thaytan@mad.scientist.com>
1260
1261         * configure.ac:
1262           releasing 0.10.2, "At the edge of Taymans"
1263
1264 2006-12-07  Edward Hervey  <edward@fluendo.com>
1265
1266         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_get_codecids):
1267         Activate "amr" and "3gp" muxers.
1268         Add AMR-NB as a valid audio codec for "mp4" muxer
1269
1270 2006-12-07  Wim Taymans  <wim@fluendo.com>
1271
1272         * ext/ffmpeg/gstffmpegcodecmap.c:
1273         (gst_ffmpeg_formatid_get_codecids):
1274         Add H263p variants as possible format for mov.
1275         Fixes #378796.
1276
1277 2006-12-06  Jan Schmidt  <thaytan@mad.scientist.com>
1278
1279         * tests/check/generic/libavcodec-locking.c: (GST_START_TEST):
1280         Fix the filter caps string for the test. Limit it to 10 fps, which
1281         means encoding ~ 50 frames before timeout
1282
1283 2006-12-04  Jan Schmidt  <thaytan@mad.scientist.com>
1284
1285         * HACKING:
1286         Update the hacking info with information about how to prepare
1287         your quilt setup to hack on the ffmpeg checkout
1288
1289 2006-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1290
1291         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
1292         (gst_ffmpegdec_chain):
1293           When H264 is presented without codec_data, use a parser to frame it
1294           by assuming that no codec_data implies it is unpacketised.
1295
1296           Always use the return value from the parser to advance the input
1297           buffer position.
1298
1299 2006-11-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1300
1301         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
1302           My console is not your TODO list.
1303           If it were your TODO list, you would have DONE it by now.
1304
1305 2006-11-16  Stefan Kost  <ensonic@users.sf.net>
1306
1307         Patch by: Ville Syrjala <ville.syrjala@movial.fi>
1308
1309         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1310         (gst_ffmpeg_caps_to_codecid):
1311           Specify H.263 variant and version in the caps (fixes #361636)
1312
1313 2006-11-14  Michael Smith  <msmith@fluendo.com>
1314
1315         * ext/ffmpeg/gstffmpegcodecmap.c:
1316         (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
1317           Add mmf to _get_codecids, so we can use the mmf muxer.
1318           Use "audio/x-adpcm" rather than the dubious looking "x-adpcm" as our
1319           caps type for the adpcm variants.
1320
1321         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init):
1322           Allow muxers that allow either only audio or only video, needed for
1323           mmf (audio only).
1324
1325 2006-10-26  Edward Hervey  <edward@fluendo.com>
1326
1327         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
1328         (gst_ffmpegenc_setcaps), (gst_ffmpegenc_register):
1329         MPEG4 standard does not accept framerates with a denominator greater
1330         than (1<<16 - 1) (according to the ffmpeg encoder...).
1331         We therefore scale down the framerate.
1332         Small indentation fixes using gst-indent.
1333
1334 2006-10-25  Wim Taymans  <wim@fluendo.com>
1335
1336         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1337         (gst_ffmpeg_caps_to_codecid):
1338         Fix AMR caps. Fixes #364956.
1339
1340         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_get_stream):
1341         Activate pads before adding them.
1342
1343 2006-10-24  Edward Hervey  <edward@fluendo.com>
1344
1345         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
1346         The ->frame_size for RAW audio is 1.
1347         Should fix behaviour of some muxers.
1348
1349 2006-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1350
1351         * gst-ffmpeg.spec.in:
1352           Build with -O1 by default since otherwise assembler breaks
1353
1354 2006-10-24  Edward Hervey  <edward@fluendo.com>
1355
1356         * ext/ffmpeg/gstffmpegcfg.c:
1357         FLV is in fact h263 and can take the same parameters as other mpeg
1358         derivatives.
1359         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1360         (gst_ffmpeg_caps_with_codecid):
1361         Add pixel format to video/x-dv,systemstream=False
1362         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
1363         (gst_ffmpegenc_init):
1364         Use EPZS (Enhanced Predictive Zonal Search) as the default motion
1365         estimation method, since it's the best quality to speed compromise.
1366
1367 2006-10-20  Mark Nauwelaerts <manauw@skynet.be>
1368
1369         Reviewed by: Edward Hervey  <edward@fluendo.com>
1370
1371         * configure.ac:
1372         postproc filters need liboil to detect the cpu architecture
1373         * ext/libpostproc/Makefile.am:
1374         Update for liboil requirement, libpostproc being moved around in
1375         ffmpeg mirror, and removal of unused header file.
1376         * ext/libpostproc/gstpostproc.h:
1377         Header file not needed anymore
1378         * ext/libpostproc/gstpostproc.c: (gst_pp_scope_get_type),
1379         (change_context), (append), (change_mode),
1380         (gst_post_proc_base_init), (gst_post_proc_class_init),
1381         (gst_post_proc_init), (gst_post_proc_dispose),
1382         (gst_post_proc_setcaps), (gst_post_proc_transform_ip),
1383         (gst_post_proc_set_property), (gst_post_proc_get_property),
1384         (gst_post_proc_deblock_set_property),
1385         (gst_post_proc_deblock_get_property),
1386         (gst_post_proc_tmpnoise_set_property),
1387         (gst_post_proc_tmpnoise_get_property),
1388         (gst_post_proc_autolevels_set_property),
1389         (gst_post_proc_autolevels_get_property),
1390         (gst_post_proc_forcequant_set_property),
1391         (gst_post_proc_forcequant_get_property), (gst_post_proc_register),
1392         (plugin_init):
1393         Port of postprocessing elements to 0.10.
1394
1395 2006-10-13  Edward Hervey  <edward@fluendo.com>
1396
1397         * ext/ffmpeg/gstffmpegcodecmap.c:
1398         (gst_ffmpeg_formatid_get_codecids):
1399         Added some codec mappings for dv and mov muxers.
1400         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
1401         (gst_ffmpegenc_register):
1402         Don't attempt to add caps to a NULL caps.
1403         Add video/x-raw-gray to the input raw video types.
1404
1405 2006-10-09  Edward Hervey  <edward@fluendo.com>
1406
1407         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
1408         (gst_ffmpeg_formatid_get_codecids):
1409         Added proper mime types for mxf and gxf formats.
1410         Added known configuration for asf muxer. Implies allowing the ffmpeg asf
1411         muxer to take WMV and WMA.
1412         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1413         Most demuxers/formats don't give keyframe information on encoded
1414         audio streams. We therefore don't discard them, and use the clipping
1415         functionnality to drop the decoded buffers we didn't need.
1416
1417 2006-10-09  Edward Hervey  <edward@fluendo.com>
1418
1419         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1420         Set the rank of all demuxers for which we:
1421         _ Have no alternate demuxer,
1422         _ And are know not to crash like madmans,
1423         to GST_RANK_MARGINAL
1424
1425 2006-10-09  Edward Hervey  <edward@fluendo.com>
1426
1427         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1428         Disable the amr ffmpeg typefind function, it conflicts with
1429         gsttypefindfunctions' implementation.
1430
1431 2006-10-06  Edward Hervey  <edward@fluendo.com>
1432
1433         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init):
1434         Properly initialize ->lmin, ->lmax and ->max_key_interval so we don't
1435         end up passing completely bogus data to the AVCodecContext.
1436         Fixes #355584
1437
1438 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
1439
1440         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_get_stream):
1441         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
1442           Printf format fixes.
1443
1444 2006-10-05  Edward Hervey  <edward@fluendo.com>
1445
1446         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_seek):
1447         Implement seeking for WRITE "gst" protocol.
1448         This allows muxers to properly seek and output correctly muxed files.
1449
1450 2006-10-05  Edward Hervey  <edward@fluendo.com>
1451
1452         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_change_state):
1453         We need to stop the collectpads in PAUSED->READY BEFORE chaining up to
1454         the parent class change_state. Else we end up in a locking behaviour
1455         with the sink pads stream locks.
1456
1457 2006-10-04  Wim Taymans  <wim@fluendo.com>
1458
1459         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
1460         (gst_ffmpegdemux_init), (gst_ffmpegdemux_close),
1461         (gst_ffmpegdemux_push_event), (gst_ffmpegdemux_send_event),
1462         (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_open),
1463         (gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
1464         (gst_ffmpegdemux_sink_activate_push),
1465         (gst_ffmpegdemux_sink_activate_pull):
1466         Don't try to use or remove non-existing pads.
1467         Use _scale some more.
1468         Don't try to do maths with invalid timestamps. Fixes #359545.
1469         Prepare for push based scheduling.
1470
1471 2006-09-30  Edward Hervey  <edward@fluendo.com>
1472
1473         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
1474         Clarify some CODEC_ID <=> mime type conversions for image formats.
1475         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1476         Cleanup on demuxer registration.
1477         Bumped flv demuxer to RANK_MARGINAL since it proved solid enough.
1478         Will have to go over more demuxers, for which we don't have any
1479         gst-plugins-* alternative, to figure out which ones can move to
1480         RANK_MARGINAL too.
1481
1482 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
1483
1484         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1485         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
1486           Don't leak caps in some cases and make build bots happy again.
1487
1488 2006-09-23  Edward Hervey  <edward@fluendo.com>
1489
1490         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1491         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
1492         Added definitions for FLASHSV, Flash Screen Video format.
1493
1494 2006-09-21  Edward Hervey  <edward@fluendo.com>
1495
1496         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1497         wc1/wmv3 ffmpeg decoder now works. Bumping rank to GST_RANK_MARGINAL.
1498
1499 2006-09-20  Edward Hervey  <edward@fluendo.com>
1500
1501         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1502         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
1503         Adding codec mapping for vp5, vp6, vp6f and cavs.
1504
1505 2006-09-20  Edward Hervey  <edward@fluendo.com>
1506
1507         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1508         (gst_ffmpeg_get_codecid_longname):
1509         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1510         Seems like the ffmpeg folks finally understood that VC9 does not
1511         exist, and that it's in fact VC1 (aka WMV9 or WMV3, but that's yet
1512         another debate).
1513
1514 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
1515
1516         * ext/ffmpeg/gstffmpegdec.c:
1517         * ext/ffmpeg/gstffmpegdeinterlace.c:
1518         * ext/ffmpeg/gstffmpegenc.h:
1519         * ext/ffmpeg/gstffmpegmux.c:
1520         * ext/ffmpeg/gstffmpegscale.c:
1521           More G_OBJECT macro fixing.
1522
1523 2006-09-13  Wim Taymans  <wim@fluendo.com>
1524
1525         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
1526         (check_keyframe), (gst_ffmpegdec_video_frame),
1527         (gst_ffmpegdec_chain):
1528         Add some more timestamp debugging.
1529         Fixed wrong duration whn not using a parser.
1530
1531 2006-09-08  Edward Hervey  <edward@fluendo.com>
1532
1533         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
1534         (gst_ffmpegmux_sink_event), (gst_ffmpegmux_collected):
1535         Port tag-writing support in the muxers.
1536
1537 2006-09-08  Edward Hervey  <edward@fluendo.com>
1538
1539         Patch by: Michal Benes  <michal dot benes at xeris dot cz>
1540         
1541         * ext/ffmpeg/Makefile.am:
1542         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
1543         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_codecid):
1544         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
1545         (gst_ffmpegmux_init), (gst_ffmpegmux_finalize),
1546         (gst_ffmpegmux_request_new_pad), (gst_ffmpegmux_setcaps),
1547         (gst_ffmpegmux_collected), (gst_ffmpegmux_change_state),
1548         (gst_ffmpegmux_register):
1549         Port of FFMpeg muxers to 0.10.
1550         Still needs some loving in gstffmpegcodecmap to have them all supported
1551         with correct input formats.
1552         Closes #332339
1553
1554 2006-09-06  Wim Taymans  <wim@fluendo.com>
1555
1556         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1557
1558         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
1559         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_vid_caps_new),
1560         (gst_ff_aud_caps_new), (gst_ffmpeg_codecid_to_caps),
1561         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
1562         (gst_ffmpeg_init_pix_fmt_info):
1563         * ext/ffmpeg/gstffmpegcodecmap.h:
1564         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_send_event):
1565         * ext/ffmpeg/gstffmpegprotocol.c:
1566         Make stuff compile on Visual Studio 6.
1567         Convert some crach macros to functions.
1568         Convert some static tables to _init functions.
1569         Fixes #343951.
1570
1571 2006-09-06  Wim Taymans  <wim@fluendo.com>
1572
1573         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1574         Do early keyframe check again, feeding bad data in ffmpeg is not a good
1575         idea after all.
1576
1577 2006-09-06  Wim Taymans  <wim@fluendo.com>
1578
1579         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1580
1581         * ext/ffmpeg/Makefile.am:
1582         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_pass_get_type),
1583         (gst_ffmpeg_lim_pass_get_type), (gst_ffmpeg_mb_decision_get_type),
1584         (gst_ffmpeg_mb_cmp_get_type), (gst_ffmpeg_dct_algo_get_type),
1585         (gst_ffmpeg_idct_algo_get_type), (gst_ffmpeg_quant_type_get_type),
1586         (gst_ffmpeg_pre_me_get_type), (gst_ffmpeg_pred_method_get_type),
1587         (gst_ffmpeg_flags_get_type), (gst_ffmpeg_cfg_init),
1588         (gst_ffmpeg_cfg_codec_has_pspec),
1589         (gst_ffmpeg_cfg_install_property), (gst_ffmpeg_cfg_set_property),
1590         (gst_ffmpeg_cfg_get_property), (gst_ffmpeg_cfg_set_defaults),
1591         (gst_ffmpeg_cfg_fill_context):
1592         * ext/ffmpeg/gstffmpegcfg.h:
1593         Added helper object to handle extra properties.
1594
1595         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
1596         (gst_ffmpegenc_init), (gst_ffmpegenc_dispose),
1597         (gst_ffmpegenc_getcaps), (gst_ffmpegenc_setcaps),
1598         (gst_ffmpegenc_chain_video), (gst_ffmpegenc_chain_audio),
1599         (gst_ffmpegenc_flush_buffers), (gst_ffmpegenc_event_video),
1600         (gst_ffmpegenc_set_property), (gst_ffmpegenc_get_property),
1601         (gst_ffmpegenc_change_state), (gst_ffmpegenc_register):
1602         * ext/ffmpeg/gstffmpegenc.h:
1603         Exposes (quite some of) the AVCodecContext configurable
1604         settings, as well as some additional (though simple) logic for b-frame
1605         delay handling.
1606         Most of the properties are only enabled for mpeg4-like codecs.
1607         Fixes #344583.
1608
1609 2006-09-05  Wim Taymans  <wim@fluendo.com>
1610
1611         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1612         Disable early keyframe check, it causes crashes and is not really
1613         needed. 
1614
1615 2006-09-05  Wim Taymans  <wim@fluendo.com>
1616
1617         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
1618         (gst_ffmpegdec_chain):
1619         Even more timestamp fixage.
1620         Also keep track of pending durations.
1621         don't lose our timestamp when joining the cache.
1622
1623 2006-09-05  Wim Taymans  <wim@fluendo.com>
1624
1625         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
1626         (gst_ffmpegdec_audio_frame), (gst_ffmpegdec_frame),
1627         (gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
1628         More timestamp fixage.
1629         Don't pass around buffers just to pass its timestamp since we
1630         cannot update it.
1631         After decoding a buffer, don't use the timestamp of the buffer
1632         anymore but let the interpolation do its work.
1633
1634 2006-09-05  Wim Taymans  <wim@fluendo.com>
1635
1636         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1637         Fix timestamping some more by actually using the ffmpeg parsers
1638         correctly. Fixes #341736
1639
1640 2006-08-29  Wim Taymans  <wim@fluendo.com>
1641
1642         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
1643         (gst_ffmpegdec_negotiate), (clip_video_buffer),
1644         (clip_audio_buffer), (gst_ffmpegdec_audio_frame),
1645         (gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
1646         (gst_ffmpegdec_chain):
1647         Mark outgoing buffers with DISCONT when needed.
1648         Small cleanups.
1649         Fix timestamps on audio decoders.
1650         better audio clipping.
1651         Fixes #352579.
1652
1653 2006-08-21  Wim Taymans  <wim@fluendo.com>
1654
1655         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
1656         Pad extradata. Allocate dummy empty extradata because some codecs like
1657         to read it and segfault when it's not there.
1658
1659 2006-08-16  Wim Taymans  <wim@fluendo.com>
1660
1661         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1662
1663         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
1664         If we are not operating in RTP mode, leave the default rtp encoder
1665         settings as they are so that we don't unintentionally activate it.
1666         Fixes #351415.
1667
1668
1669 2006-08-14  Edward Hervey  <edward@fluendo.com>
1670
1671         * configure.ac:
1672         Don't build programs in ffmpeg checkout, since we're never going to use
1673         them in the gstreamer plugin. Also it allows building the plugin on
1674         systems that don't have UI-specific libraries (like X).
1675
1676 2006-07-19  Wim Taymans  <wim@fluendo.com>
1677
1678         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_lowres_get_type),
1679         (gst_ffmpegdec_skipframe_get_type), (gst_ffmpegdec_class_init),
1680         (gst_ffmpegdec_init), (gst_ffmpegdec_open),
1681         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
1682         (gst_ffmpegdec_do_qos), (clip_video_buffer), (check_keyframe),
1683         (get_output_buffer), (gst_ffmpegdec_video_frame),
1684         (gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
1685         (gst_ffmpegdec_chain):
1686         Make some enums const.
1687         Cleanups, refactoring.
1688         Better video frame clipping.
1689         Timestamp fixe: use timestamp from incomming buffer even if there
1690         is no input framerate given (as this is totally unrelated).
1691
1692 2006-06-12  Edward Hervey  <edward@fluendo.com>
1693
1694         * .cvsignore:
1695         ignore more files
1696
1697 2006-06-06  Edward Hervey  <edward@fluendo.com>
1698
1699         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open): 
1700         mpeg4 parsing still utterly broken :(
1701
1702 2006-06-02  Edward Hervey  <edward@fluendo.com>
1703
1704         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1705         Nothing to see, pass your way, I didn't screwup the previous commit.
1706
1707 2006-06-02  Edward Hervey  <edward@fluendo.com>
1708
1709         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
1710         (gst_ffmpegdec_query), (gst_ffmpegdec_update_qos),
1711         (gst_ffmpegdec_reset_qos), (gst_ffmpegdec_read_qos),
1712         (gst_ffmpegdec_open), (gst_ffmpegdec_setcaps),
1713         (gst_ffmpegdec_get_buffer), (gst_ffmpegdec_release_buffer),
1714         (gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_negotiate),
1715         (gst_ffmpegdec_do_qos), (gst_ffmpegdec_video_frame),
1716         (gst_ffmpegdec_audio_frame), (gst_ffmpegdec_frame),
1717         (gst_ffmpegdec_flush_pcache), (gst_ffmpegdec_sink_event),
1718         (gst_ffmpegdec_chain):
1719         Split out audio and video frame decoding.
1720         Added dropping/clipping of decoded buffers.
1721         Ran gst-indent on code.
1722         Small non-invasive code cleanups.
1723
1724 2006-06-02  Michael Smith  <msmith@fluendo.com>
1725
1726         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1727           One of the ffmpeg 'plugins' changed its name with the latest update
1728           of the snapshot. Change the blacklisted typefind list to match.
1729
1730 2006-06-02  Michael Smith  <msmith@fluendo.com>
1731
1732         reviewed by: <delete if not using a buddy>
1733
1734         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1735         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
1736
1737 2006-05-26  Edward Hervey  <edward@fluendo.com>
1738
1739         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1740         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
1741         (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_formatid_get_codecids),
1742         (gst_ffmpeg_get_codecid_longname):
1743         Change all GST_WARNING to GST_LOG. None of these warning are
1744         really critical issues anyway.
1745         
1746 2006-05-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1747
1748         * configure.ac:
1749           fix test by finding base plugins
1750
1751 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1752
1753         * tests/check/gst-ffmpeg.supp:
1754           Add missing file (which prepare-ChangeLog didn't pick up
1755           because it's empty).
1756
1757 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1758
1759         * tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
1760         (simple_launch_lines_suite), (main):
1761           Only run test when encoder element is available (we might
1762           have been configured with --disable-encoders).
1763
1764 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1765
1766         Patch by: Luca Ognibene  <luogni at tin dot it>
1767
1768         * tests/check/Makefile.am:
1769         * tests/check/generic/libavcodec-locking.c: (setup_pipeline),
1770         (run_pipeline), (GST_START_TEST), (simple_launch_lines_suite),
1771         (main):
1772           Add test case for libavcodec locking
1773
1774 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1775
1776         * Makefile.am:
1777         * configure.ac:
1778         * tests/Makefile.am:
1779         * tests/check/.cvsignore:
1780         * tests/check/Makefile.am:
1781         * tests/check/generic/.cvsignore:
1782           Add test infrastructure to gst-ffmpeg (#324279).
1783
1784 2006-05-08  Edward Hervey  <edward@fluendo.com>
1785
1786         * autogen.sh: (CONFIGURE_DEF_OPT): 
1787         libtoolize on Darwin/MacOSX is called glibtoolize
1788
1789 2006-05-07  Jan Schmidt  <thaytan@mad.scientist.com>
1790
1791         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1792         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_get_codecids),
1793         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
1794         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init):
1795         Add mappings for RealVideo 4.0, AMR-WB, AMR-NB and DTS to silence
1796         warnings when registering.
1797         Only register the 1/2,1/4 size decode and frame-skipping properties
1798         on video decoders.
1799
1800         * gst-libs/ext/ffmpeg/configure.ac:
1801         * gst-libs/ext/ffmpeg/libavformat/Makefile.am:
1802         * gst-libs/ext/ffmpeg/patches/autotools.patch:
1803         Merge patch by Sam Morris to allow disabling of decoders. 
1804         Fixes #324366
1805
1806 2006-05-07  Jan Schmidt  <thaytan@mad.scientist.com>
1807
1808         * gst-libs/ext/ffmpeg/patches/autotools.patch:
1809         * gst-libs/ext/ffmpeg/patches/noinst.patch:
1810         Refresh patches to incorporate MikeS' automake 1.9 changes from a
1811         while back.
1812
1813 2006-05-02  Tim-Philipp Müller  <tim at centricular dot net>
1814
1815         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1816           Give ffmpeg demuxers a rank of NONE for the time being, so that
1817           they are not auto-plugged; they are not stable enough for that
1818           yet (e.g. #337785). Don't register AAC demuxer, it's not really
1819           useful and can't be used as faad replacement (#338928).
1820
1821 2006-04-24  Edgard Lima <edgard.lima@indt.org.br>
1822
1823         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
1824         just make it compile with --disable-gst-debug.
1825
1826 2006-04-21  Andy Wingo  <wingo@pobox.com>
1827
1828         * configure.ac (GST_MAJORMINOR): Drop the required gstreamer
1829         version back down to the latest release, I don't think thomas'
1830         commit on 1 april was meant to change it.
1831
1832         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Up the rank
1833         of the dv video decoder.
1834
1835 2006-04-19  J^ <j@bootlab.org>
1836
1837         reviewed by: Edward Hervey  <edward@fluendo.com>
1838
1839         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1840         (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_formatid_get_codecids),
1841         (gst_ffmpeg_get_codecid_longname):
1842         Added proper GstCaps <==> CodecId for Apple QDRaw.
1843         Fixed up proper wrapping for GstCaps <==> FormatId.
1844
1845 2006-04-18  Wim Taymans  <wim@fluendo.com>
1846
1847         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_perform_seek),
1848         (gst_ffmpegdemux_loop):
1849         Don't try to convert -1 values when seeking.
1850         Adjust timestamps with start_time of the stream.
1851
1852 2006-04-13  Wim Taymans  <wim@fluendo.com>
1853
1854         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
1855         (gst_ffmpegdemux_class_init), (gst_ffmpegdemux_init),
1856         (gst_ffmpegdemux_close), (gst_ffmpegdemux_push_event),
1857         (gst_ffmpegdemux_set_flags), (gst_ffmpegdemux_is_eos),
1858         (gst_ffmpegdemux_do_seek), (gst_ffmpegdemux_perform_seek),
1859         (gst_ffmpegdemux_src_event), (gst_ffmpegdemux_send_event),
1860         (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_src_convert),
1861         (gst_ffmpegdemux_get_stream), (my_safe_copy),
1862         (gst_ffmpegdemux_read_tags), (gst_ffmpegdemux_open),
1863         (gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
1864         (gst_ffmpegdemux_sink_activate_pull),
1865         (gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
1866         Rework the demuxer, implement all seeking stuff including
1867         seek in ready.
1868
1869         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
1870         (gst_ffmpegdata_close):
1871         Handle some more cases.
1872
1873 2006-04-11  Wim Taymans  <wim@fluendo.com>
1874
1875         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
1876         Actually convert to time instead of pretending.. Also
1877         the bitrate of the context is mostly wrong so don't
1878         bother calculating a stop position.
1879         Closing (#331323)
1880
1881 2006-04-10  Wim Taymans  <wim@fluendo.com>
1882
1883         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1884         When we see a keyframe don't wait for another one.
1885
1886 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1887
1888         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init):
1889         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init):
1890         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_class_init):
1891         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1892
1893 2006-04-08  Wim Taymans  <wim@fluendo.com>
1894
1895         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_do_qos):
1896         Too bad we can't use gst_private.h..
1897
1898 2006-04-08  Wim Taymans  <wim@fluendo.com>
1899
1900         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
1901         Some other formats, still commented out, though.
1902
1903 2006-04-08  Wim Taymans  <wim@fluendo.com>
1904
1905         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
1906         (gst_ffmpegdec_init), (gst_ffmpegdec_finalize),
1907         (gst_ffmpegdec_query), (gst_ffmpegdec_update_qos),
1908         (gst_ffmpegdec_reset_qos), (gst_ffmpegdec_read_qos),
1909         (gst_ffmpegdec_src_event), (gst_ffmpegdec_open),
1910         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_get_buffer),
1911         (gst_ffmpegdec_release_buffer),
1912         (gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_negotiate),
1913         (gst_ffmpegdec_do_qos), (gst_ffmpegdec_frame),
1914         (gst_ffmpegdec_flush_pcache), (gst_ffmpegdec_sink_event),
1915         (gst_ffmpegdec_chain):
1916         Cleanups.  Fix refcounting here and there. use DEBUG_OBJECT,
1917         refactor some functions. Use GstSegment.
1918         Implement simple QOS by using the ffmpeg hurry_up field.
1919
1920 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
1921
1922         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1923           Register id3 demuxer, avi demuxer and ogg demuxer with
1924           a rank of GST_RANK_NONE so that they don't get
1925           autoplugged accidentally. We want people to install
1926           the demuxers that are known to work well rather than
1927           mostly untested stuff like ffdemux_*.
1928
1929 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1930
1931         * ext/ffmpeg/gstffmpeg.c:
1932         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
1933         * ext/ffmpeg/gstffmpegdec.c:
1934         (gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_frame):
1935         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_seek):
1936         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform_caps),
1937         (gst_ffmpegscale_handle_src_event):
1938           various compiler fixes
1939         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
1940         (my_safe_copy), (gst_ffmpegdemux_open),
1941         (gst_ffmpegdemux_change_state):
1942           actually return the result.  Tee hee.
1943
1944 2006-03-31  Thomas Vander Stichele <thomas at apestaart dot org>
1945
1946         * configure.ac:
1947           back to HEAD
1948
1949 === release 0.10.1 ===
1950
1951 2006-03-31  Thomas Vander Stichele <thomas at apestaart dot org>
1952
1953         * configure.ac:
1954           releasing 0.10.1, "Late Train"
1955
1956 2006-03-22  Wim Taymans  <wim@fluendo.com>
1957
1958         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
1959         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_change_state):
1960         make _open and _close as functions that should be
1961         called with the object lock instead of them taking a
1962         lock themselves. This fixes a deadlock when 
1963         _open fails.
1964
1965 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
1966
1967         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
1968           Don't use gst_pad_alloc_buffer() for frames with palette,
1969           as we'll artificially shorten the size of buffers in that
1970           case and GstBaseTransform will complain about unit size
1971           issues if we use _alloc_buffer() with the full size.
1972
1973 2006-03-01  Michal Benes  <michal dot benes at xeris dot cz>
1974
1975         reviewed by: Edward Hervey  <edward@fluendo.com>
1976
1977         * ext/ffmpeg/Makefile.am:
1978         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
1979         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
1980         (gst_ffmpeg_formatid_get_codecids):
1981         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
1982         (gst_ffmpegmux_init), (gst_ffmpegmux_finalize),
1983         (gst_ffmpegmux_request_new_pad), (gst_ffmpegmux_setcaps),
1984         (gst_ffmpegmux_collected), (gst_ffmpegmux_change_state),
1985         (gst_ffmpegmux_register):
1986         Port of FFMpeg muxers to 0.10.
1987         Still needs some loving in gstffmpegcodecmap to have them all supported
1988         with correct input formats.
1989         Closes #332339
1990         
1991
1992 2006-03-01  Michal Benes  <michal dot benes at xeris dot cz>
1993
1994         Reviewed by : Edward Hervey  <edward@fluendo.com>
1995
1996         * ext/ffmpeg/Makefile.am:
1997         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
1998         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_base_init),
1999         (gst_ffmpegscale_class_init), (gst_ffmpegscale_init),
2000         (gst_ffmpegscale_finalize), (gst_ffmpegscale_transform_caps),
2001         (gst_ffmpegscale_fixate_caps), (gst_ffmpegscale_get_unit_size),
2002         (gst_ffmpegscale_set_caps), (gst_ffmpegscale_transform),
2003         (gst_ffmpegscale_handle_src_event), (gst_ffmpegscale_register):
2004         Port of ffvideoscale to 0.10.
2005         Closes #332557
2006
2007 2006-03-01  Josef Zlomek  <josef dot zlomek at itonis dot tv>
2008
2009         Reviewed by : Edward Hervey  <edward@fluendo.com>
2010
2011         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_audio):
2012         Fix segmentation fault and memleak.
2013         Fixes #332995 and #333001
2014
2015 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
2016
2017         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2018           ... can't adjust buffer size of NULL buffers though
2019           (as happens when seeking in video from #327075).
2020
2021 2006-02-24  Michael Smith  <msmith@fluendo.com>
2022
2023         * autogen.sh:
2024         * gst-libs/ext/ffmpeg/autogen.sh:
2025           Allow automake 1.9
2026
2027 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
2028
2029         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
2030         (gst_ffmpeg_set_palette):
2031           Use AVPALETTE_SIZE macro instead of magic value for clarity.
2032
2033         Based on patch by: Fabrizio Gennari
2034         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2035           In GStreamer, the size of the palette is not part of
2036           GST_BUFFER_SIZE, so adjust buffer size of outgoing buffers
2037           accordingly if there's a palette (fixes #327028)
2038
2039 2006-02-21  Edward Hervey  <edward@fluendo.com>
2040
2041         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2042         (gst_ffmpeg_formatid_to_caps):
2043         Added proper formatid to caps conversion for ogg, gif, yuv4mpeg and
2044         quicktime formats.
2045
2046 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
2047
2048         * configure.ac:
2049         Apply patch from Sebastien Cote to handle --with-pkg-config-path
2050         before looking for GStreamer patches. (Re-closes #319248)
2051
2052 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
2053
2054         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2055         (gst_ffmpeg_caps_with_codecid):
2056         Add extra detail to the Real format caps. With this info, 
2057         filesrc ! ffdemux_rm ! ffdec_cook ! ... works, but using rmdemux
2058         doesn't. The order of the data the demuxers output appears to be
2059         different.
2060
2061 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
2062
2063         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2064         (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_get_codecid_longname):
2065         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
2066         Add new codec ids and fix up some of the codec->mime type mappings
2067
2068 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
2069
2070         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2071         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
2072         Add codec mapping for RealAudio G2 (Cook) codec.
2073
2074 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
2075
2076         * HACKING:
2077         Mention ffmpeg snapshot update
2078
2079         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2080         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
2081         Add new codec types from FFMpeg snapshot update to 2006-02-17 4:00 GMT
2082
2083 2006-02-17  Wim Taymans  <wim@fluendo.com>
2084
2085         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_sink_activate):
2086         Post nice error message when we cannot activate in pull mode.
2087
2088 2006-02-14  Edward Hervey  <edward@fluendo.com>
2089
2090         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
2091         If the duration returned by ffmpeg is 0, it doesn't mean the file has
2092         no duration, but that it doesn't know the end.
2093         Fixed accordingly for segment_stop.
2094
2095 2006-02-13  Edward Hervey  <edward@fluendo.com>
2096
2097         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
2098         (gst_ffmpegdec_frame):
2099         More fixes for keyframe detection in ffmpeg decoders...
2100
2101 2006-02-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2102
2103         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
2104         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
2105           respect pixel-aspect-ratio when encoding.
2106
2107 2006-02-12  Edward Hervey  <edward@fluendo.com>
2108
2109         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_init),
2110         (gst_ffmpegdemux_close), (gst_ffmpegdemux_handle_seek),
2111         (gst_ffmpegdemux_add), (my_safe_copy), (gst_ffmpegdemux_read_tags),
2112         (gst_ffmpegdemux_open), (gst_ffmpegdemux_loop):
2113         Add Tag support and keyframe seeking (for those formats where ffmpeg
2114         actually fills in the index).
2115         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
2116         (gst_ffmpegdata_read), (gst_ffmpegdata_seek):
2117         Add support for size querying.
2118
2119 2006-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2120
2121         * ext/ffmpeg/gstffmpeg.c:
2122           set correct version on the plug-in - the GStreamer
2123           FFMpeg version.  I could swear I had already done this
2124           before.
2125
2126 2006-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2127
2128         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
2129         (gst_ffmpegenc_init), (gst_ffmpegenc_setcaps):
2130           debug and magic number fixes
2131
2132 2006-02-10  Edward Hervey  <edward@fluendo.com>
2133
2134         * ext/ffmpeg/Makefile.am:
2135         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
2136         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
2137         (gst_ffmpegdemux_init), (gst_ffmpegdemux_stream_from_pad),
2138         (gst_ffmpegdemux_handle_seek), (gst_ffmpegdemux_src_event),
2139         (gst_ffmpegdemux_src_query_list), (gst_ffmpegdemux_src_query),
2140         (gst_ffmpegdemux_add), (gst_ffmpegdemux_open),
2141         (gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
2142         (gst_ffmpegdemux_sink_activate_pull),
2143         (gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
2144         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
2145         (gst_ffmpegdata_peek), (gst_ffmpegdata_read),
2146         (gst_ffmpegdata_write), (gst_ffmpegdata_seek),
2147         (gst_ffmpegdata_close):
2148         Welcome the demuxers to 0.10 :)
2149         For the time being the demuxers work only pull-based.
2150         Seeking, querying works.
2151
2152 2006-02-10  Edward Hervey  <edward@fluendo.com>
2153
2154         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2155         added CODEC_ID_FLV1 <==> 'video/x-flash-video,flvversion=1' conversion.
2156
2157 2006-02-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2158
2159         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2160         (gst_ffmpeg_smpfmt_to_caps):
2161         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
2162         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_frame),
2163         (gst_ffmpegdec_chain):
2164           debug recurring events at LOG level
2165           do some timestamp setting heuristics on the pcache, with the
2166           net result of having more buffers have approximately correct
2167           timestamps.
2168           This allows playback of h263/3gp files taking fps from the demuxer,
2169           which before always set GST_CLOCK_TIME_NONE as timestamp.
2170
2171 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2172
2173         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette):
2174           Buffers aren't boxed types any longer.
2175
2176 2006-02-03  Edgard Lima <edgard.lima@indt.org.br>
2177
2178         * ext/ffmpeg/gstffmpegenc.c:
2179           Just make it compile with --disable-gst-debug.
2180                         
2181 2006-02-02  Andy Wingo  <wingo@pobox.com>
2182
2183         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Reorder case
2184         statements to make control flow more clear.
2185
2186 2006-02-02  Christian Schaller <christian at fluendo dot com>
2187
2188         * Set rank NONE for mp3 and mpeg2video:
2189           They don't work properly and having them autoplugged
2190           gives people a bad impression and leads them to not grab 
2191           mad or fluendo mp3. Fixes #162833
2192
2193 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
2194
2195         * configure.ac:
2196           fix build of deinterlace
2197
2198 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
2199
2200         * docs/plugins/Makefile.am:
2201         * docs/plugins/gst-ffmpeg-plugins-docs.sgml:
2202           first stab at documenting ffmpeg elements.  Needs work.
2203
2204 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
2205
2206         * configure.ac:
2207         * docs/Makefile.am:
2208         * docs/plugins/.cvsignore:
2209         * docs/plugins/gst-ffmpeg-plugins-docs.sgml:
2210         * docs/plugins/gst-ffmpeg-plugins.args:
2211         * docs/plugins/gst-ffmpeg-plugins.hierarchy:
2212         * docs/plugins/gst-ffmpeg-plugins.interfaces:
2213         * docs/plugins/gst-ffmpeg-plugins.prerequisites:
2214         * docs/plugins/gst-ffmpeg-plugins.types:
2215         * docs/plugins/inspect.stamp:
2216         * docs/plugins/inspect/plugin-ffmpeg.xml:
2217         * docs/version.entities.in:
2218           First step at adding docs
2219
2220 2006-01-26  Tim-Philipp Müller  <tim at centricular dot net>
2221
2222         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
2223           Pad codec data buffer to a size that is a multiple of 16, which
2224           ffmpeg apparently needs for optimized/unchecked access to the
2225           data. Fixes crashes with HD h264 video.
2226
2227 2006-01-23  Edward Hervey  <edward@fluendo.com>
2228
2229         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2230         Added CODEC_ID_SMC <==> video/x-smc   caps
2231         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2232         I hate ffmpeg... no keyframe information at all for VP3, so we have
2233         to assume they're all keyframes :(
2234
2235 2006-01-20  Martin Zlomek from Itonis (michael.benes@xeris.cz)
2236
2237         reviewed by: Edward Hervey  <edward@fluendo.com>
2238
2239         * ext/ffmpeg/Makefile.am:
2240         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
2241         * ext/ffmpeg/gstffmpegdeinterlace.c:
2242         (gst_ffmpegdeinterlace_base_init),
2243         (gst_ffmpegdeinterlace_class_init),
2244         (gst_ffmpegdeinterlace_sink_setcaps), (gst_ffmpegdeinterlace_init),
2245         (gst_ffmpegdeinterlace_chain), (gst_ffmpegdeinterlace_register):
2246         ffdeinterlace port to 0.10.
2247         Could be made a subclass of GstBaseTransform later on...
2248
2249 2006-01-20  Michal Benes  <michael.benes@xeris.cz>
2250
2251         Reviewed by : Edward Hervey  <edward@fluendo.com>
2252
2253         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_audio): 
2254         Caps weren't set on outgoing audio buffers.
2255         Closes #327861
2256
2257 2006-01-17  Edward Hervey  <edward@fluendo.com>
2258
2259         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
2260         Memleak fix.
2261         Closes #326704
2262
2263 2006-01-17  Edward Hervey  <edward@fluendo.com>
2264
2265         * configure.ac:
2266         Add --with-pkg-config-path argument.
2267         Closes #319248
2268
2269 2006-01-12  Andy Wingo  <wingo@pobox.com>
2270
2271         * libavcodec/utils.c: Fix for CVE-2005-4048 (bugzilla bug
2272         #324209), buffer overflow with small PNG images with palettes.
2273         Patch by: Loïc Minier <lool+gnome at via.ecp.fr>
2274
2275         * libavutil/Makefile.am (INCLUDES): Add ALTIVEC_CFLAGS here, fixes
2276         compilation on ppc (#320238).
2277
2278 2006-01-11  Edward Hervey  <edward@fluendo.com>
2279
2280         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2281         Add exception for Indeo3 keyframe detection until upstream ffmpeg
2282         behaves properly.
2283
2284 2005-12-19  Edward Hervey  <edward@fluendo.com>
2285
2286         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2287         Update ffmpeg_codec_id <=> mimetype conversions
2288         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2289         Finer grained keyframe detection
2290
2291 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2292
2293         Patch by: Sebastien Cote
2294         Patch by: Luca Ognibene
2295         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_avcodec_open),
2296         (gst_ffmpeg_avcodec_close):
2297         * ext/ffmpeg/gstffmpeg.h:
2298         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
2299         (gst_ffmpegdec_open):
2300         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_dispose),
2301         (gst_ffmpegenc_getcaps), (gst_ffmpegenc_setcaps),
2302         (gst_ffmpegenc_change_state):
2303           Do proper locking around avcodec_open() and avcodec_close()
2304           (fixes #322254)
2305
2306 2005-12-10  Tim-Philipp Müller  <tim at centricular dot net>
2307
2308         * gst-libs/ext/Makefile.am:
2309           We need to use $(MAKE) here instead of 'make' (on some
2310           systems it's gmake that needs to be called, for example)
2311
2312 2005-12-07  Edward Hervey  <edward@fluendo.com>
2313
2314         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2315         So, stupid ffmpeg.... Not all [en|de]coders set AVFrame->type.
2316         This should handle the case where AVFrame->reference is set to 1 (which
2317         is the equivalent of a keyframe).
2318         Also fixes #323286.
2319         I tried a truckload of other files with this modification and it didn't
2320         seem to break playback.
2321
2322 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2323
2324         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2325         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt),
2326         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
2327         * ext/ffmpeg/gstffmpegcodecmap.h:
2328         * ext/ffmpeg/gstffmpegdeinterlace.c:
2329         (gst_ffmpegdeinterlace_pad_link), (gst_ffmpegdeinterlace_init),
2330         (gst_ffmpegdeinterlace_chain):
2331         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
2332         (gst_ffmpegenc_chain_audio):
2333         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
2334         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_write):
2335         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_pad_link),
2336         (gst_ffmpegscale_init), (gst_ffmpegscale_chain),
2337         (gst_ffmpegscale_change_state):
2338         * ext/libpostproc/gstpostproc.c: (change_context), (change_mode),
2339         (gst_postproc_base_init), (gst_postproc_class_init),
2340         (gst_postproc_init), (gst_postproc_link), (gst_postproc_chain),
2341         (gst_postproc_change_state), (gst_postproc_set_property),
2342         (gst_postproc_get_property), (gst_postproc_register):
2343           expand tabs
2344
2345 === release 0.10.0 ===
2346
2347 2005-12-05   <thomas (at) apestaart (dot) org>
2348
2349         * configure.ac:
2350           releasing 0.10.0, "Rocamadour"
2351
2352 2005-12-05  Andy Wingo  <wingo@pobox.com>
2353
2354         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer),
2355         (gst_ffmpegdec_frame):
2356         * ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_chain):
2357         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_chain): Update for
2358         alloc_buffer changes.
2359
2360 === release 0.9.7 ===
2361
2362 2005-12-01   <thomas (at) apestaart (dot) org>
2363
2364         * configure.ac:
2365           releasing 0.9.7, "Mein Hund Hat Keine Nase"
2366
2367 2005-11-28  Julien MOUTTE  <julien@moutte.net>
2368
2369         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
2370         (gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
2371         (gst_ffmpegenc_setcaps), (gst_ffmpegenc_set_property),
2372         (gst_ffmpegenc_get_property): Add rtp-payload-size property.
2373
2374 2005-11-28  Tim-Philipp Müller  <tim at centricular dot net>
2375
2376         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
2377         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_add_pixel_aspect_ratio),
2378         (gst_ffmpegdec_negotiate):
2379           Improve pixel aspect ratio handling when both the demuxer and the
2380           decoder provide a pixel aspect ratio: if one of the two ratios is
2381           1:1, use the other one; if both are non-1:1, use the one provided
2382           by the decoder (fixes matroska starwars test files); also add some
2383           locking here and there.
2384
2385 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2386
2387         * configure.ac: back to HEAD
2388
2389 === release 0.9.6 ===
2390
2391 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
2392
2393         * configure.ac:
2394           releasing 0.9.6, "Cold Cat"
2395
2396 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
2397
2398         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2399         Updated API 
2400
2401 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
2402
2403         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
2404         Whoops - handle input video caps that don't have a framerate
2405
2406 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
2407
2408         * HACKING:
2409         * ext/ffmpeg/gstffmpegcolorspace.c:
2410           Remove mentions of ffmpegcolorspace now that it's in 
2411           gst-plugins-base
2412
2413         * ext/ffmpeg/Makefile.am:
2414           Link to gstreamer libraries
2415         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
2416         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
2417         (gst_ffmpegdec_close), (gst_ffmpegdec_setcaps),
2418         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_frame):
2419           Convert to fractional framerate
2420
2421 2005-11-22  Andy Wingo  <wingo@pobox.com>
2422
2423         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Run
2424         update-funcnames.
2425
2426 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2427
2428         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
2429           Remove GST_STREAM_LOCK here, it is not needed any longer.
2430
2431 2005-11-16  Luca Ognibene  <luogni@tin.it>
2432
2433         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer):
2434           My previous commit was not completly correct.. I've disabled
2435         our _get_buffer function until we make it work 100%. I've opened a bug
2436         (#321662) for this issue.
2437
2438 2005-11-16  Luca Ognibene  <luogni@tin.it>
2439
2440         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
2441         (gst_ffmpegdec_frame):
2442          Fix some segfaults while seeking. When i have unreffed 
2443          the buffer in _release_buffer i should also set picture->opaque to
2444          NULL otherwise sometimes it can be unreffed another time in
2445          _frame causing an invalid read/write.
2446
2447 2005-11-14  Andy Wingo  <wingo@pobox.com>
2448
2449         * configure.ac (GST_PLUGIN_LDFLAGS): -no-undefined for better
2450         debugging, allows dll builds on windows. Fixes #316076.
2451
2452 2005-11-14  Tim-Philipp Müller  <tim at centricular dot net>
2453
2454         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
2455         (gst_ffmpegdec_sink_event):
2456           Don't crash in debug message by dereferencing the NULL buffer
2457           gst_ffmpegdec_frame() gets passed on EOS. Take STREAM_LOCK for
2458           EOS, TAG, NEWSEGMENT and FLUSH_STOP events.
2459
2460 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2461
2462         * configure.ac: back to HEAD
2463
2464 === release 0.9.5 ===
2465
2466 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2467
2468         * configure.ac:
2469           releasing 0.9.5, "Sound Of Silence"
2470
2471 2005-11-11  Edward Hervey  <edward@fluendo.com>
2472
2473         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer),
2474         (gst_ffmpegdec_release_buffer), (gst_ffmpegdec_frame),
2475         (gst_ffmpegdec_sink_event):
2476         Properly unref a buffer if we drop it.
2477         Esthetic fixes.
2478
2479 2005-11-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2480
2481         * TODO:
2482           Add some TODO items for 0.9 cycle.
2483
2484 2005-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2485
2486         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
2487         (gst_ffmpegdec_close), (gst_ffmpegdec_open),
2488         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
2489         (gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
2490         (gst_ffmpegdec_chain):
2491           Backported some fixes from 0.8. Most importantly, use
2492           demuxer's timestamping information if we use its framerate
2493           value. Makes divx play properly again among other things
2494           (#319616, #313970, #317596). Did not backport memory leak
2495           fix.
2496
2497 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2498
2499         * configure.ac:
2500           back to HEAD
2501
2502 === release 0.9.4 ===
2503
2504 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2505
2506         * configure.ac:
2507           releasing 0.9.4, "Triceratops"
2508
2509 2005-10-23  Julien MOUTTE  <julien@moutte.net>
2510
2511         * ext/ffmpeg/Makefile.am: Fix build.
2512         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2513         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
2514         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
2515         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register): Add QDM2
2516         and TrueMotion 2.
2517
2518 2005-10-11  Wim Taymans  <wim@fluendo.com>
2519
2520         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
2521         newsegment API update.
2522
2523 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2524
2525         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2526           we have better ways of debugging caps
2527         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
2528           ye gods.  get_template_caps doesn't return a ref, so when the
2529           pad was not linked, crashes would ensue.  Serves me right.
2530
2531 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2532
2533         * configure.ac:
2534           back to development
2535
2536 === release 0.9.3 ===
2537
2538 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2539
2540         * NEWS:
2541         * README:
2542         * configure.ac:
2543           Releasing 0.9.3, "D'Artagnan"
2544
2545 2005-09-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2546
2547         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
2548           if no peer, use the src pad template caps as allowed
2549           caps
2550
2551 2005-09-22  Wim Taymans  <wim@fluendo.com>
2552
2553         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
2554         Do not limit quantizer values so we can get really low
2555         bitrates.
2556
2557 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2558
2559         patch by: Wim Taymans
2560
2561         * gst-libs/ext/ffmpeg/libavcodec/h263.c:
2562         (h263_encode_picture_header), (mpeg4_encode_vol_header):
2563         * gst-libs/ext/ffmpeg/patches/h263.patch:
2564         * gst-libs/ext/ffmpeg/patches/series:
2565           fix frame rate encoding for h263
2566
2567 2005-09-20  Wim Taymans  <wim@fluendo.com>
2568
2569         * ext/ffmpeg/gstffmpegcodecmap.h:
2570         Avoid division by 0 errors.
2571
2572 2005-09-19  Wim Taymans  <wim@fluendo.com>
2573
2574         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
2575         (gst_ffmpegdec_frame):
2576         Don't blindly assume there is a codec.
2577
2578 2005-09-19  Wim Taymans  <wim@fluendo.com>
2579
2580         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
2581         Better framerate setting.
2582
2583 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2584
2585         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
2586           fix up newsegment
2587
2588 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2589
2590         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback), (plugin_init):
2591         * ext/ffmpeg/gstffmpeg.h:
2592         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
2593           shut up the logging while it's probing for formats
2594
2595 2005-09-05  Andy Wingo  <wingo@pobox.com>
2596
2597         * Update for state change type and macro changes.
2598
2599 2005-08-19  Wim Taymans  <wim@fluendo.com>
2600
2601         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps),
2602         (gst_ffmpegenc_chain_video), (gst_ffmpegenc_change_state):
2603         Fix return values from the setcaps function.
2604
2605 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2606
2607         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
2608         (gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
2609           Handle return values of gst_pad_push().
2610
2611 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2612
2613         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2614           Forwardport from 0.8 to implement QT-RLE.
2615
2616 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2617
2618         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
2619           Flush buffers in flush-stop, not flush-start, since the task is not
2620           stopped yet in flush-stop, which may lead to odd crashes in random
2621           places inside libavcodec.
2622
2623 2005-08-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2624
2625         * ext/ffmpeg/gstffmpegcodecmap.c:
2626           Fix template to not allow fps=0.
2627
2628 2005-08-05  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2629
2630         * configure.ac:
2631         * ext/ffmpeg/Makefile.am:
2632         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
2633         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
2634         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
2635         (gst_ffmpegdec_init), (gst_ffmpegdec_query), (gst_ffmpegdec_event),
2636         (gst_ffmpegdec_open), (gst_ffmpegdec_setcaps),
2637         (gst_ffmpegdec_get_buffer), (gst_ffmpegdec_negotiate),
2638         (gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
2639         (gst_ffmpegdec_chain), (gst_ffmpegdec_change_state),
2640         (gst_ffmpegdec_register):
2641         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
2642         (gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
2643         (gst_ffmpegenc_setcaps), (gst_ffmpegenc_chain_video),
2644         (gst_ffmpegenc_chain_audio):
2645         * ext/libpostproc/Makefile.am:
2646           Backport BRANCH-THREADED to HEAD, fix a bit.
2647
2648 === release 0.8.6 ===
2649
2650 2005-08-05  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2651
2652         * NEWS:
2653         * RELEASE:
2654         * configure.ac:
2655           Release gst-ffmpeg 0.8.6 "Vamoz a la Playa".
2656
2657 2005-07-28  daniel fischer  <dan@f3c.com>
2658
2659         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2660
2661         * ext/ffmpeg/gstffmpegcodecmap.h:
2662           Actually initialize value (#311802).
2663
2664 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2665
2666         * ext/ffmpeg/gstffmpegcodecmap.h:
2667         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
2668         (gst_ffmpegdec_frame), (gst_ffmpegdec_chain):
2669         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
2670         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link),
2671         (gst_ffmpegenc_chain_video):
2672         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
2673           Use special functions for timestamp-conversion again, since we
2674           otherwise don't handle clocktimenone correctly (#311593).
2675
2676 2005-07-24  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2677
2678         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_codecid):
2679           Add x264 to muxer (it was added to template, but I forgot to add
2680           h264 caps recognition for some reason).
2681
2682 2005-07-22  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2683
2684         * ext/ffmpeg/gstffmpegcodecmap.c:
2685           Make type explicit.
2686         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
2687         (gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
2688         (gst_ffmpegdec_change_state):
2689           When we provide a buffer and get a valid return value (data was
2690           read), but no output (have-data==0), then we need to reuse this
2691           same output buffer, because it may be used for caching output
2692           data. Fixes #307353.
2693         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
2694           Timestamp fix.
2695
2696 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2697
2698         * ext/ffmpeg/gstffmpeg.h:
2699         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2700         (gst_ffmpeg_caps_to_pixfmt), (gst_ffmpeg_formatid_get_codecids),
2701         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname),
2702         (gst_ffmpeg_img_convert):
2703         * ext/ffmpeg/gstffmpegcodecmap.h:
2704         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate),
2705         (gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
2706         (gst_ffmpegdec_register):
2707         * ext/ffmpeg/gstffmpegdeinterlace.c:
2708         (gst_ffmpegdeinterlace_getcaps), (gst_ffmpegdeinterlace_pad_link):
2709         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
2710         (gst_ffmpegdemux_src_format_list), (gst_ffmpegdemux_src_query),
2711         (gst_ffmpegdemux_src_convert), (gst_ffmpegdemux_add),
2712         (gst_ffmpegdemux_register):
2713         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
2714         (gst_ffmpegenc_link), (gst_ffmpegenc_chain_video),
2715         (gst_ffmpegenc_chain_audio):
2716         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
2717         (gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
2718         (gst_ffmpegmux_register):
2719         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_write):
2720         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_pad_link):
2721         * ext/libpostproc/gstpostproc.c: (gst_postproc_chain):
2722           Update to ffmpeg snapshot of Jul 20 2005 4:00 PM GMT. Mostly
2723           some added codecs, some API changes, etc. Also adds a VOB muxer
2724           for MPEG-2 video and adds h264 to .mp4 muxing.
2725
2726 2005-07-16  daniel fischer  <dan@f3c.com>
2727
2728         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2729
2730         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open):
2731           Strip off private flags from context value (#310054).
2732
2733 2005-07-11  Luca Ognibene  <luogni@tin.it>
2734
2735         * ext/ffmpeg/gstffmpegdec.c (struct _GstFFMpegDec) 
2736         (gst_ffmpegdec_open, gst_ffmpegdec_negotiate): 
2737           Cache the pixel format value and renegotiate the pipeline
2738           if this value changes. Fixes segfault when decoding a
2739           stream with different colorspaces like a sequence of jpeg.
2740
2741 2005-07-11  daniel fischer  <dan@f3c.com>
2742
2743         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2744
2745         * ext/ffmpeg/gstffmpeg.h:
2746         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
2747         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
2748         (gst_ffmpegdata_write):
2749           Add a stream-header flag to set stream-header caps on some streams,
2750           such as (in this case) flv (fixes #309051).
2751
2752 2005-06-27  Luca Ognibene  <luogni@tin.it>
2753
2754         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
2755         timestamp is a GstClockTime, not a double..
2756         fix #309149 and maybe others bug
2757
2758 2005-06-27  Daniel Fischer  <dan@f3c.com>
2759
2760         reviewed by: Luca Ognibene <luogni@tin.it>
2761
2762         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
2763         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
2764         more DELTA_UNIT / KEY_UNIT fixes
2765
2766 2005-06-27  Daniel Fischer  <dan@f3c.com>
2767
2768         reviewed by: Luca Ognibene <luogni@tin.it>
2769
2770         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
2771         (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
2772         add flv encoder
2773         
2774         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2775         set both DELTA_UNIT and KEY_UNIT
2776         
2777         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
2778         use DELTA_UNIT and not the deprecated KEY_UNIT
2779
2780 2005-06-25  Luca Ognibene  <luogni@tin.it>
2781
2782         * ext/libpostproc/gstpostproc.c: (gst_ffmpeg_log_callback),
2783         (plugin_init):
2784         * ext/libpostproc/gstpostproc.h:
2785         fix debug output
2786
2787 2005-06-25  Sebastien Cote <sc5@hermes.usherb.ca>
2788
2789         Reviewed by: Luca Ognibene <luogni@tin.it>
2790         
2791         * ext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video): 
2792         set the GST_BUFFER_DELTA_UNIT while encoding
2793         fix #308804
2794
2795 2005-06-20  Edward Hervey  <edward@fluendo.com>
2796
2797         * ext/libpostproc/gstpostproc.c: (gst_postproc_register):
2798         It works better when filing the hash_table BEFORE registering the element.
2799         
2800 2005-06-20  Edward Hervey  <edward@fluendo.com>
2801
2802         * ext/Makefile.am: (SUBDIRS):
2803         * ext/libpostproc:
2804         * ext/libpostproc/Makefile.am:
2805         * ext/libpostproc/gstpostproc.c:
2806         * ext/libpostproc/gstpostproc.h:
2807         ffmpeg's libpostproc wrapper plugins
2808
2809         * configure.ac: 
2810         added --enable-pp to ffmpeg configure arguments
2811
2812 2005-06-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2813
2814         * configure.ac:
2815           Dev mode.
2816
2817 === release 0.8.5 ===
2818
2819 2005-06-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2820
2821         * NEWS:
2822         * RELEASE:
2823         * TODO:
2824         * configure.ac:
2825           Release 0.8.5 "For the better of the world".
2826         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
2827           Stay backwards compatible a short while longer (SVQ3).
2828
2829 2005-06-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2830
2831         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2832           Only do timestamp interpolation for delayed streams (containing
2833           B-frames). Fixes stuttering playback of ASF files (#306770).
2834
2835 2005-06-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2836
2837         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2838         (gst_ffmpeg_caps_with_codecid):
2839           Remove weird flags from SVQ3 flags and just give full atom,
2840           like other files; fixes frame order problems (#306530).
2841
2842 2005-06-08  Luca Ognibene  <luogni@tin.it>
2843
2844         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_change_state): 
2845           First close the ffmpeg context than try to free last_buffer.
2846           fix #306893
2847
2848 2005-06-03  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2849
2850         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
2851         (gst_ffmpegdec_handle_event), (gst_ffmpegdec_register):
2852           Disable parsing on h264 for now, seems to break avc decoding.
2853
2854 2005-06-03  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2855
2856         * configure.ac:
2857           scale requires -libs (video.h).
2858         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
2859           Don't crash if open failed.
2860
2861 2005-05-24  Luca Ognibene  <luogni@tin.it>
2862
2863         * ext/ffmpeg/gstffmpegdeinterlace.c (gst_ffmpegdeinterlace_chain): 
2864           Always stamp your buffers ! (ooops)
2865
2866 2005-05-24  Edward Hervey  <bilboed@bilboed.com>
2867
2868         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_chain):
2869         Always stamp your buffers !
2870
2871 2005-05-17  Luca Ognibene  <luogni@tin.it>
2872
2873         * ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps): 
2874           Add YUV444P format as Y444
2875
2876 2005-05-15  Luca Ognibene  <luogni@tin.it>
2877
2878         * ext/ffmpeg/Makefile.am: 
2879         * ext/ffmpeg/gstffmpegdeinterlace.c: 
2880         * ext/ffmpeg/gstffmpeg.c (plugin_init): 
2881           Add ffdeinterlace element
2882         * TODO: 
2883           yo, another thing removed from the TODO
2884
2885 2005-05-14  Luca Ognibene  <luogni@tin.it>
2886
2887         * ext/ffmpeg/gstffmpegscale.c (gst_ffmpegscale_change_state): 
2888           Don't segfault if using passthrough
2889
2890 2005-05-13  Luca Ognibene  <luogni@tin.it>
2891
2892         * ext/ffmpeg/gstffmpeg.c (plugin_init): 
2893         * ext/ffmpeg/Makefile.am: 
2894         * ext/ffmpeg/gstffmpegscale.c: 
2895           Add ffvideoscale element (#303727)
2896
2897         * TODO: 
2898           update TODO   
2899
2900         * ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps): 
2901           Add support for GRAY8 colorspace
2902
2903 2005-05-11  Luca Ognibene  <luogni@tin.it>
2904
2905         * ext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video): 
2906         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_chain): 
2907           Makes ffmpegdec and ffmpegenc use these functions
2908           and remove a comment from a previuos patch
2909
2910         * ext/ffmpeg/gstffmpegcodecmap.h: 
2911           Add two utility functions to convert the pts from/to
2912           the ffmpeg format
2913
2914 2005-05-06  Luca Ognibene  <luogni@tin.it>
2915
2916         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2917
2918         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
2919         (gst_ffmpegdec_open), (gst_ffmpegdec_connect),
2920         (gst_ffmpegdec_get_buffer), (gst_ffmpegdec_release_buffer),
2921         (gst_ffmpegdec_frame), (gst_ffmpegdec_change_state):
2922           Re-re-enable get_/release_buffer functions, removes a few more
2923           percent of our CPU usage (#301783).
2924
2925 2005-05-02  Luca Ognibene  <luogni@tin.it>
2926
2927         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2928
2929         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps):
2930           Add JPEG-formatted YUV enums.
2931
2932 2005-05-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2933
2934         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_class_init),
2935         (gst_ffmpegmux_finalize), (gst_ffmpegmux_loop),
2936         (gst_ffmpegmux_change_state):
2937           Fix possible segfaults (#302017).
2938
2939 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2940
2941         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
2942           Use CODEC_CAP_DELAY and remove max-10-delayed-frames hack.
2943
2944 2005-04-23  Luca Ognibene  <luogni@tin.it>
2945
2946         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2947
2948         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
2949           Don't crash if avcodec_open failed (#301717).
2950
2951 2005-04-21  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2952
2953         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
2954           Re-disable mov typefinding which breaks mov playback.
2955
2956 2005-04-21  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2957
2958         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2959         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
2960         (gst_ffmpeg_get_codecid_longname):
2961           Add ALAC, shorten and some more in new FFMPEG snapshot of
2962           21/4, somewhere this afternoon.
2963         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
2964         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
2965           Add warnings to decoder registration to easier add new ones
2966           during snapshot updates.
2967
2968 2005-04-21  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2969
2970         * ext/ffmpeg/gstffmpegcodecmap.c:
2971         (gst_ffmpeg_formatid_get_codecids):
2972           Enable MPEG muxer.
2973
2974 2005-04-18  Luca Ognibene  <luogni@tin.it>
2975
2976         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2977
2978         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2979           Next try at using pad_alloc_buffer (#300923).
2980
2981 2005-04-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2982
2983         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2984           Revert previous, we cannot call pad_alloc_buffer() before being
2985           negotiated.
2986
2987 2005-04-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2988
2989         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2990           Use gst_pad_alloc_buffer().
2991
2992 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2993
2994         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
2995           Safety bet to not completely crush the system on EOS. Fixes the
2996           bad behaviour of #300200 (doesn't fix the actual issue).
2997
2998 2005-04-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2999
3000         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
3001         (gst_ffmpegdec_handle_event):
3002           Fix breakage of testsuite by adding keyframe syncing; changed
3003           to sync only for some streamtypes (MPEG-2/-4, for now).
3004         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add):
3005           Add tags.
3006
3007 2005-04-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3008
3009         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
3010         (gst_ffmpegdec_open), (gst_ffmpegdec_frame),
3011         (gst_ffmpegdec_handle_event):
3012           Implement keyframe syncing.
3013
3014 2005-03-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3015
3016         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
3017           Enable muxers (only mp4 muxer for now).
3018         * ext/ffmpeg/gstffmpegcodecmap.c:
3019         (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
3020         * ext/ffmpeg/gstffmpegcodecmap.h:
3021           Fix a bunch of typos in codec-id lookup (false/true return value
3022           mixup), add a codec-id list retrieval function (because ffmpeg
3023           does not provide one). With that, we can make valid pad templates.
3024         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_init),
3025         (gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
3026         (gst_ffmpegmux_change_state), (gst_ffmpegmux_get_id_caps),
3027         (gst_ffmpegmux_register):
3028           Fix for whatever changed since I last tried this. Works for MP4
3029           muxing.
3030         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
3031         (gst_ffmpegdata_peek), (gst_ffmpegdata_write),
3032         (gst_ffmpegdata_seek), (gst_ffmpegdata_close):
3033           Update obviously-untested write code...
3034
3035 2005-03-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3036
3037         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
3038           Fix crash on randomly sized input (#169082).
3039
3040 2005-03-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3041
3042         * configure.ac:
3043           Dev.
3044
3045 === release 0.8.4 ===
3046
3047 2005-03-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3048
3049         * NEWS:
3050         * RELEASE:
3051         * configure.ac:
3052           Release 0.8.4 "Mellow on my fingers".
3053
3054 2005-03-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3055
3056         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
3057           Add MPEG-4 audio for debugging.
3058
3059 2005-02-05  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3060
3061         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link):
3062           Only free context if it was created (otherwise it crashes).
3063
3064 2005-02-04  Jan Schmidt  <thaytan@mad.scientist.com>
3065
3066         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
3067         (gst_ffmpegdec_chain), (gst_ffmpegdec_register):
3068           Reduce the rank of the mpeg2 decoder back below mpeg2dec
3069           Use the parser to reorder pts times. Fixes mpeg playback
3070           without changing any other files I tested.
3071           Use the repeat_pict flag to correctly set durations
3072
3073 2005-02-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3074
3075         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3076         (gst_ffmpeg_caps_to_codecid):
3077           Change caps of MJPEGB to not interfere with MJPEG/JPEG.
3078         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3079           Remove rank for SP5X, no clue what that is...
3080
3081 2005-02-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3082
3083         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
3084           Don't SIGFPE right away.
3085
3086 2005-01-31  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3087
3088         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_lowres_get_type),
3089         (gst_ffmpegdec_skipframe_get_type), (gst_ffmpegdec_class_init),
3090         (gst_ffmpegdec_init), (gst_ffmpegdec_connect),
3091         (gst_ffmpegdec_frame), (gst_ffmpegdec_set_property),
3092         (gst_ffmpegdec_get_property):
3093           Implement B-frame skipping and low-resolution decoding (useful
3094           for very slow CPUs).
3095
3096 2005-01-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3097
3098         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3099         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
3100           Oops, unbreak audio.
3101
3102 2005-01-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3103
3104         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3105         (gst_ffmpeg_caps_to_codecid):
3106           Add AMR mimetypes (since those are recognized in ffmpeg).
3107         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
3108         (gst_ffmpegdec_register):
3109         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
3110         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
3111           Register law codecs too, add time debug. Use ANY for template caps
3112           since we don't necessarily have available decoders for recognized
3113           formats.
3114
3115 2005-01-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3116
3117         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
3118           Fix compile with debug disabled (#165250).
3119
3120 2005-01-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3121
3122         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek):
3123           Yet Another Logic Error.
3124
3125 2005-01-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3126
3127         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate):
3128           <insert rant about why gcc should support parsing errors>.
3129
3130 2005-01-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3131
3132         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3133         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt):
3134           Add extradata to huffyuv, sync RGBA32 up with gst-plugins.
3135         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_query),
3136         (gst_ffmpegdec_event):
3137           Make somewhat clearer.
3138
3139 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3140
3141         * TODO:
3142           Update since some tasks are done.
3143         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
3144         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
3145           Add correct mimetype for FLI video, restore correct typefind
3146           priority.
3147
3148 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3149
3150         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
3151         (gst_ffmpegdec_frame), (gst_ffmpegdec_handle_event),
3152         (gst_ffmpegdec_chain):
3153           More debug, re-fix MPEG-2 (yes, I broke it already!).
3154
3155 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3156
3157         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event),
3158         (gst_ffmpegdec_chain):
3159           Another fix for MPEG-4 movies...
3160
3161 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3162
3163         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
3164         (gst_ffmpegdec_connect), (gst_ffmpegdec_negotiate),
3165         (gst_ffmpegdec_frame), (gst_ffmpegdec_handle_event):
3166           Add some more debug, fix for B-frame containing XviD movies.
3167
3168 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3169
3170         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
3171           Only flush when the codec is opened.
3172
3173 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3174
3175         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3176         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
3177         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3178           Re-add H263I as intel-h263 (which is not h263-compliant...).
3179           Increase rank of mpeg2video since it plays more videos than
3180           its gst-plugins counterpart, with no regressions.
3181
3182 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3183
3184         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
3185           Don't unref NULL data...
3186
3187 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3188
3189         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
3190         (gst_ffmpegdec_open), (gst_ffmpegdec_frame),
3191         (gst_ffmpegdec_handle_event), (gst_ffmpegdec_chain):
3192           Add B-frame timestamp smoothing.
3193
3194 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3195
3196         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
3197         (gst_ffmpegdec_chain):
3198           Separate buffer handling from actual decoding, handle pending
3199           frames (for B-frames and so on) so we catch the last frames
3200           before EOS, prepare for some timestamp changes to make playback
3201           of movies with B-frames smoother (not done yet).
3202
3203 2005-01-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3204
3205
3206         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_chain):
3207         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_init),
3208         (gst_ffmpegdemux_close), (gst_ffmpegdemux_src_query),
3209         (gst_ffmpegdemux_loop):
3210           Add simple query functions. Seeking is only cosmetic, it's not
3211           actually filled in yet (in ffmpegdec).
3212
3213 2005-01-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3214
3215         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init),
3216         (gst_ffmpegenc_link), (gst_ffmpegenc_chain_video):
3217           Remove EMU_EDGE, since that really fixes #162905. Revert
3218           previous hacks.
3219
3220 2005-01-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3221
3222         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
3223           Unref after encode (#162905).
3224
3225 2005-01-16  Luca Ognibene  <luogni@tin.it>
3226
3227         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3228
3229         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link),
3230         (gst_ffmpegenc_chain_video):
3231           Workaround memory issues (#162905).
3232
3233 2005-01-10  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3234
3235         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
3236           Decrease certainty a bit so we use flxdec for .flx videos.
3237
3238 2005-01-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3239
3240         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_dispose):
3241           Call parent.
3242
3243 2005-01-09  Luca Ognibene  <luogni@tin.it>
3244
3245         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3246
3247         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3248           Disable parsing for MJPEG input since that's already cut at
3249           frame-boundaries. Fixes #163340.
3250
3251 2005-01-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3252
3253         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3254         (gst_ffmpeg_caps_to_codecid):
3255           Set property incompatible with DV demuxer so that it won't
3256           infinitely plug demuxers to each other. Fixes playback of .dv
3257           streams in Totem.
3258
3259 2004-12-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3260
3261         * configure.ac:
3262           Dev.
3263
3264 === release 0.8.3 === 
3265
3266 2004-12-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3267
3268         * NEWS:
3269         * RELEASE:
3270         * configure.ac:
3271           Release 0.8.3 "Tiny Piece of Plastic".
3272
3273 2004-12-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3274
3275         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
3276           Don't cripple rank as a hack to not register typefind functions.
3277           Instead, just use a boolean for that. This makes ID3-tagged MP3
3278           files play even if mad is not installed.
3279
3280 2004-12-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3281
3282         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3283           Remove rank from ffdec_h263i until I know how it's different
3284           from ffdec_h263. Fixes #155163.
3285
3286 2004-12-18  David Schleef  <ds@schleef.org>
3287
3288         * autogen.sh: execute ffmpeg's autogen.sh directly
3289         * gst-libs/ext/ffmpeg/autogen.sh: Add a #! line.  Specify bash,
3290         since there are bashisms ('local').
3291
3292 2004-12-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3293
3294         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
3295         (gst_ffmpegdata_peek), (gst_ffmpegdata_read),
3296         (gst_ffmpegdata_write), (gst_ffmpegdata_seek),
3297         (gst_ffmpegdata_close):
3298           Add debug. Don't EOS unless all data was read.
3299
3300 2004-12-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3301
3302         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
3303         (gst_ffmpegdata_read), (gst_ffmpegdata_seek):
3304           Some "seeking" hacks, and separate peek from read (read = peek +
3305           flush) so seek can use peek as well to workaround typefind. With
3306           this, I'm able to play several of the gaming format movies in
3307           Totem.
3308
3309 2004-12-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3310
3311         * ext/ffmpeg/Makefile.am:
3312         * ext/ffmpeg/gstffmpeg.h:
3313           Add header.
3314
3315 2004-12-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3316
3317         * ext/ffmpeg/gstffmpeg.c:
3318         * ext/ffmpeg/gstffmpegcodecmap.c:
3319         * ext/ffmpeg/gstffmpegcodecmap.h:
3320         * ext/ffmpeg/gstffmpegcolorspace.c:
3321         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3322         * ext/ffmpeg/gstffmpegdemux.c:
3323         * ext/ffmpeg/gstffmpegenc.c:
3324         * ext/ffmpeg/gstffmpegmux.c:
3325         * ext/ffmpeg/gstffmpegprotocol.c:
3326           Add debugging category everywhere (correctly this time). Don't
3327           parse mp3 data (the parser is a piece of crap). Fixes #155274
3328           mostly. Seeking pending.
3329
3330 2004-12-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3331
3332         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
3333           Add ID3 mime. Should partially fix #155274 (although raw mp3
3334           sounds awful, it doesn't parse correctly in the decoder-only
3335           case).
3336
3337 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3338
3339         * ext/ffmpeg/gstffmpegcodecmap.c:
3340         (gst_ffmpeg_get_codecid_longname):
3341           Fix typo.
3342
3343 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3344
3345         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3346           Small parsing fix in comb. with ffdemux_mpeg.
3347
3348 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3349
3350         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
3351         (gst_ffmpegdec_close), (gst_ffmpegdec_open), (gst_ffmpegdec_chain):
3352           Include optional parser if supported (currently only MPEG-1/-2
3353           video). This fixes playback of MPEG-1/-2 videos using
3354           ffdec_mpeg2video.
3355
3356 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3357
3358         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
3359         (gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
3360         (gst_ffmpegenc_link):
3361           Move setup of sink caps (accepted formats) to a separate function
3362           rather than doing it on initialization.
3363
3364 2004-12-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3365
3366         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3367         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname),
3368         (gst_ffmpeg_avpicture_fill):
3369           Add new codecIDs from new snapshot (Thu Dec 16 11:27:18 2004).
3370         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
3371         (gst_ffmpegdemux_type_find), (gst_ffmpegdemux_loop):
3372         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
3373           API updates.
3374         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_read),
3375         (gst_ffmpegdata_seek):
3376           A slightly smarter approach, but it still needs lost of work to
3377           be reliable in any way...
3378
3379 2004-12-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3380
3381         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
3382         (gst_ffmpegdec_close), (gst_ffmpegdec_connect),
3383         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_chain):
3384           Move negotiation outside the _chain function, and use the
3385           codec PAR if available and prefer it over demuxer PAR (since
3386           this is usually the right thing to do). Fixes #159755.
3387
3388 2004-12-16  Sebastien Cote  <sc5@hermes.usherb.ca>
3389
3390         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3391
3392         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link):
3393           Fix memleak (#154815).
3394
3395 2004-12-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3396
3397         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link),
3398         (gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
3399         (gst_ffmpegcsp_change_state):
3400           Some sync with ffmpegcolorspace (flatten AVFrame).
3401
3402 2004-11-05  Wim Taymans  <wim@fluendo.com>
3403
3404         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_get_size),
3405         (gst_ffmpeg_avpicture_fill), (gst_ffmpeg_img_convert):
3406         * ext/ffmpeg/gstffmpegcodecmap.h:
3407         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3408         Fix strides and plane sizes when dealing with odd sized
3409         movies.
3410
3411 2004-10-29  Sebastien Cote  <sc5@hermes.usherb.ca>
3412
3413         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3414
3415         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3416           Prevent division by zero (#155212).
3417
3418 2004-10-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3419
3420         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
3421         * ext/ffmpeg/gstffmpegcodecmap.h:
3422         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
3423         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer),
3424         (gst_ffmpegdec_chain):
3425         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
3426           Sync with gst-plugins ffmpegcolorspace, align-by-4. Ready to
3427           re-sync gst-plugins ffmpegcolorspace with ours and deprecate
3428           this one.
3429
3430 2004-10-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3431
3432         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link):
3433           Backport changes from ffmpegcolorspace (gst-plugins) so we can
3434           then move the whole of this plugin back and deprecate this (no,
3435           I'm not insane).
3436
3437 2004-10-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3438
3439         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3440         (gst_ffmpeg_codectype_to_caps), (gst_ffmpeg_caps_with_codecid):
3441         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
3442         (gst_ffmpegenc_connect), (gst_ffmpegenc_register):
3443           Fix encoders. Fix if encoder supports >1 caps.
3444
3445 2004-10-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3446
3447         * ext/ffmpeg/gstffmpegcodecmap.c:
3448         (gst_ffmpeg_get_codecid_longname):
3449         * ext/ffmpeg/gstffmpegcodecmap.h:
3450         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
3451         (gst_ffmpegdec_register):
3452         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
3453         (gst_ffmpegenc_register):
3454           Hmm, fancy names...
3455
3456 2004-10-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3457
3458         * configure.ac: up req of GStreamer since we use fractions
3459
3460 2004-10-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3461
3462         * gst-ffmpeg.spec.in:
3463           Remove unused 'versioning' variable.
3464
3465 2004-10-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3466
3467         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init),
3468         (gst_ffmpegenc_chain_video):
3469           Set chain function before adding pad, fix memleak on error, error
3470           out on encode errors because none of subsequent frames will work
3471           any better (this is not input dependent).
3472
3473 2004-10-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3474
3475         * configure.ac:
3476           CVS.
3477
3478 === release 0.8.2 ===
3479
3480 2004-10-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3481
3482         * NEWS:
3483         * RELEASE:
3484         * configure.ac:
3485           Release 0.8.2.
3486
3487 2004-10-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3488
3489         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3490           Unref when not usable.
3491
3492 2004-10-04  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3493
3494         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3495         (gst_ffmpeg_caps_with_codecid):
3496           Negotiation fixes for real video codecs.
3497
3498 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3499
3500         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
3501           Fix timestamps. Quite some of the gaming formats work now. :).
3502
3503 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3504
3505         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3506         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
3507           Generalized palette functions, add actual mimetypes for wing
3508           commander formats.
3509         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
3510           Ffmpeg has internal palette functions, so I noticed.
3511         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3512           Actually remove all palette code.
3513
3514 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3515
3516         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
3517           Signal no_more_pads.
3518         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_read),
3519         (gst_ffmpegdata_seek):
3520           Handle events.
3521
3522 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3523
3524         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps),
3525         (gst_ffmpeg_caps_to_pixfmt):
3526         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link),
3527         (gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
3528         (gst_ffmpegcsp_change_state), (gst_ffmpegcsp_register):
3529         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3530           Move palette handling over from the decoder to the colorspace
3531           conversion plugin (where you would expect it).
3532
3533 2004-10-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3534
3535         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3536         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
3537           Simplify codec_data handling.
3538
3539 2004-09-23  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3540
3541         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3542           Update timestamp for every new buffer that we output. Improves
3543           audio playback for several files that have multiple audio chunks
3544           per buffer.
3545
3546 2004-09-22  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3547
3548         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3549           msmpeg4v3 should be priority as well, else it will choose divxdec
3550           first (which we don't want).
3551
3552 2004-09-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3553
3554         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3555         (gst_ffmpeg_caps_with_codecid):
3556           WMV extradata (make #152798 work). J-frames are only available
3557           in the bitstream if the J-frame bit has been set in the extradata.
3558           If not (or if extradata is not provided), the movie won't play.
3559         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
3560         (gst_ffmpegdec_connect), (gst_ffmpegdec_chain):
3561           Only close ffmpeg if privdata was allocated (else it segfaults).
3562           Autodetect encoding bugs and workaround it. Don't copy data if
3563           decoding failed.
3564         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
3565           Use read_frame() instead of read_packet() which is obsolete.
3566
3567 2004-09-16 Iain <iaingnome@gmail.com>
3568
3569         * ext/ffmpeg/gstffmpegmux.c (gst_ffmpegmux_register): Free name fix 
3570         leak.
3571
3572 2004-07-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3573
3574         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
3575           no point in doing any chaining if the pad we want to push from
3576           isn't usable.
3577
3578
3579 2004-07-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3580
3581         * configure.ac: bump nano
3582
3583 === gst-ffmpeg 0.8.1 ===
3584
3585 2004-07-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3586
3587         * configure.ac: release 0.8.1, "Just Another Victim"
3588
3589 2004-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3590
3591         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
3592         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
3593           d'oh, put them back
3594
3595 2004-07-07  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
3596
3597         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3598           drop incoming buffers that generate decoding errors
3599
3600 2004-07-07  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
3601
3602         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback), (plugin_init):
3603         * ext/ffmpeg/gstffmpegcodecmap.h:
3604         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3605           hook up our debug handler to FFmpeg's.
3606           warn about getting negative have_data
3607
3608 2004-07-04  Thomas Vander Stichele  <thomas at apestaart dot org>
3609
3610         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
3611         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
3612           bring category order in line with others
3613
3614 2004-06-13  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3615
3616         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3617         (gst_ffmpeg_caps_to_codecid):
3618         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_read):
3619           Do some more random property setting. Fix for if there's less than
3620           ffmpeg-default-buffersize (32kB) data in a file _and_ there's an
3621           event pending. Partially fixes #142320.
3622
3623 2004-06-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3624
3625         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
3626           Remove redundant calls which are called internally already.
3627         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
3628           Indenting...
3629         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop),
3630         (gst_ffmpegdemux_register):
3631           Remove typefind functions and rank for demuxers for any demuxer
3632           that we already have in GStreamer.
3633
3634 2004-05-18  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3635
3636         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
3637           don't operate on undefined variables (fixes #135145)
3638
3639 2004-05-16  Benjamin Otte  <otte@gnome.org>
3640
3641         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3642           Hi, I'm a memleak
3643
3644 2004-05-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3645
3646         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
3647         (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_src_convert),
3648         (gst_ffmpegdemux_open), (gst_ffmpegdemux_loop):
3649         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
3650         (gst_ffmpegdata_read), (gst_ffmpegdata_write),
3651         (gst_ffmpegdata_seek):
3652           Fix up demuxer. Works now for all my files that I tried, even
3653           quicktime. I basically hack around the super-oversimplistic file
3654           I/O handling in ffmpeg in several ways together, and I also hack
3655           around the fairly annoying EOS-will-pause-the-source-element in
3656           GStreamer itself.
3657           This code is not pretty.
3658
3659 2004-05-11  Jeremy Simon  <jesimon@libertysurf.fr>
3660
3661         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3662         (gst_ffmpeg_caps_with_codecid):
3663          block_align and bitrate caps property were lost for wma
3664          use codec_data instead of flag1 and flag2
3665
3666 2004-05-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3667
3668         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
3669           it's audio/x-wav, not video/x-wav
3670
3671 2004-05-10  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
3672
3673         * ext/ffmpeg/gstffmpegdec.c
3674         * ext/ffmpeg/gstffmpegenc.c
3675                 change plugins category to meet our new standard :
3676                         Codec/Encoder|Decoder/Audio|Video
3677                 suggested by bilboed, approved by Company
3678
3679 2004-05-04  Thomas Vander Stichele  <thomas at apestaart dot org>
3680
3681         * gst-libs/ext/ffmpeg/autogen.sh:
3682         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3683           require am17 since AM_CONDITIONAL's are being done using variables
3684           which doesn't work with am16
3685
3686 2004-04-30  Thomas Vander Stichele  <thomas at apestaart dot org>
3687
3688         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps):
3689           revert previous patch
3690
3691 2004-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3692
3693         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps):
3694           use GST_PAD_CAPS if they exist so we don't renegotiate needlessly
3695
3696 2004-04-22  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3697
3698         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3699         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
3700           WAV/IMA-ADPCM -> DVI ADPCM.
3701
3702 2004-04-22  Benjamin Otte  <otte@gnome.org>
3703
3704         * ext/ffmpeg/gstffmpegcolorspace.c:
3705         (gst_ffmpegcsp_caps_remove_format_info):
3706           use gst_caps_do_simplify
3707
3708 2004-04-19  Benjamin Otte  <otte@gnome.org>
3709
3710         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
3711           reduce maximum probability in typefinding to POSSIBLE. prevents
3712           misidentification of my mp3s as video/mpeg
3713
3714 2004-04-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3715
3716         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
3717           NULL -> (NULL) inside GST_ELEMENT_ERROR().
3718
3719 2004-04-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3720
3721         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
3722         (gst_ffmpeg_set_palette), (gst_ffmpeg_codecid_to_caps),
3723         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_smpfmt),
3724         (gst_ffmpeg_caps_to_pixfmt), (gst_ffmpeg_caps_with_codectype),
3725         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
3726         * ext/ffmpeg/gstffmpegcodecmap.h:
3727           Change some function names to reflect that they don't really
3728           _return_ something, but rather _use_ something to fill a
3729           AVCodecContext. s/to/with/. Restructure the extradata handling,
3730           it's now not picking up the type from the caps but rather
3731           using the type as provided in the function. This is a lot
3732           cleaner. Implement MS RLE palette pickup.
3733         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link):
3734         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
3735           Sync with the above function name changes.
3736         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
3737         (gst_ffmpegdec_open), (gst_ffmpegdec_connect),
3738         (gst_ffmpegdec_chain), (gst_ffmpegdec_change_state):
3739           Add some hacks to convert palette-based raw image formats to
3740           RGBA32. Ugly, but I don't know how else to handle palette-based
3741           RGB, since img_convert() (and thus ffcolorspace) doesn't accept
3742           a palette as argument.
3743
3744 2004-04-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3745
3746         * everything: updated upstream source to 2004-04-11 23:00 GMT
3747           and fixed up patches
3748
3749 2004-04-11  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3750
3751         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
3752           Add MS Video v1 (video/x-msvideocodec, CODEC_ID_MSVIDEO1).
3753
3754 2004-04-08  David Schleef  <ds@schleef.org>
3755
3756         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
3757         Change variadic macro to ISO form.  (bug #139460)
3758
3759 2004-04-06  Benjamin Otte  <otte@gnome.org>
3760
3761         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3762         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
3763           fix memleaks
3764
3765 2004-04-05  Benjamin Otte  <otte@gnome.org>
3766
3767         * configure.ac:
3768           fix --export-symblos-regex to a working regex.
3769
3770 2004-04-03  Tim-Philipp Müller <t.i.m@zen.co.uk>
3771
3772         reviewed by: David Schleef  <ds@schleef.org>
3773
3774         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):  Fix
3775         memleaks (bug #138985)
3776
3777 2004-03-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3778
3779         * ext/ffmpeg/*.c: indent
3780
3781 2004-03-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3782
3783         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
3784         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
3785           Fix category.
3786         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init),
3787         (gst_ffmpegdemux_init), (gst_ffmpegdemux_close):
3788           Slightly rewrite the init function, old one was ugly. Also remove
3789           dispose function since it's obsolete, the change_state function
3790           cleans up already. Also fixes segfault in test-app
3791           gstreamer/tests/instantiate/create
3792
3793 2004-03-24  Benjamin Otte  <otte@gnome.org>
3794
3795         * configure.ac:
3796           only export gst* symbols
3797         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3798           change g_warning to debugging message, that wasn't a programming
3799           error
3800
3801 2004-03-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3802
3803         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
3804           don't critical, throw error (#137588)
3805
3806 2004-03-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3807
3808         * configure.ac: bump nano to 1
3809
3810 === gst-ffmpeg 0.8.0 ===
3811
3812 2004-03-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3813
3814         * configure.ac: release 0.8.0, "In Buildings"
3815
3816 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3817
3818         * gst-libs/ext/ffmpeg/.pc/cvsignore/doc/.cvsignore:
3819         * gst-libs/ext/ffmpeg/.pc/cvsignore/libavcodec/i386/.cvsignore:
3820         * gst-libs/ext/ffmpeg/configure:
3821         * gst-libs/ext/ffmpeg/libavformat/matroska.c: (ebml_read_float):
3822         * gst-libs/ext/ffmpeg/patches/matroska.patch:
3823           patch from Ronald to work on ppc
3824
3825 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3826
3827         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_get_type):
3828           fix name of static to be in line with code
3829
3830 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3831
3832         * configure.ac:
3833           don't set ACLOCAL_FLAGS !
3834         * gst-libs/ext/ffmpeg/.cvsignore:
3835         * gst-libs/ext/ffmpeg/patches/cvsignore.patch:
3836           trying to add configure to be ignored
3837
3838 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3839
3840         reviewed by: <delete if not using a buddy>
3841
3842         * gst-libs/ext/ffmpeg/.cvsignore:
3843         * gst-libs/ext/ffmpeg/patches/cvsignore.patch:
3844
3845 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3846
3847         * gst-libs/ext/ffmpeg/m4/vorbis.m4:
3848         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3849           adding vorbis.m4
3850
3851 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3852
3853         * gst-libs/ext/ffmpeg/m4/ogg.m4:
3854         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3855         * gst-libs/ext/ffmpeg/patches/no-imlib.patch:
3856           adding ogg.m4
3857
3858 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3859
3860         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3861         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
3862         * gst-libs/ext/ffmpeg/autogen.sh:
3863           fix aclocal invocation to include m4 dir
3864         * gst-libs/ext/ffmpeg/configure.ac:
3865           add line to fix maintainer mode with aclocal 
3866
3867 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3868
3869         * gst-libs/ext/ffmpeg/m4/imlib.m4:
3870         * gst-libs/ext/ffmpeg/m4/sdl.m4:
3871         * gst-libs/ext/ffmpeg/m4/freetype2.m4:
3872         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3873           fix underquotedness, add freetype2.m4
3874
3875 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3876
3877         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3878           put in sdl.m4 and imlib.m4
3879
3880 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3881
3882         * gst-libs/ext/ffmpeg/.pc/autotools/.pc:
3883         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
3884         * gst-libs/ext/ffmpeg/.pc/noinst-programs/Makefile.am:
3885         * gst-libs/ext/ffmpeg/autogen.sh:
3886         * gst-libs/ext/ffmpeg/configure:
3887         * gst-libs/ext/ffmpeg/configure.ac:
3888         * gst-libs/ext/ffmpeg/doc/.cvsignore:
3889         * gst-libs/ext/ffmpeg/libavcodec/i386/.cvsignore:
3890         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3891         * gst-libs/ext/ffmpeg/patches/no-imlib.patch:
3892           fixing Makefile.am omission in autotools patch
3893           fix noinst-programs.patch
3894
3895 2004-03-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3896
3897         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
3898         * ext/ffmpeg/gstffmpegcodecmap.h:
3899         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain),
3900         (gst_ffmpegdec_register):
3901         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add),
3902         (gst_ffmpegdemux_register):
3903         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect),
3904         (gst_ffmpegenc_register):
3905         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
3906           Add encode property to codec mapper, so we can get better-fitting
3907           caps. Also use this everywhere. ;). Lastly, add some new codecIDs
3908           to our list of recognized ones.
3909
3910 2004-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3911
3912         * gst-libs/ext/ffmpeg/.pc/applied-patches:
3913         * gst-libs/ext/ffmpeg/.pc/noinst-programs/.pc:
3914         * gst-libs/ext/ffmpeg/.pc/noinst-programs/Makefile.am:
3915         * gst-libs/ext/ffmpeg/Makefile.am:
3916         * gst-libs/ext/ffmpeg/patches/series:
3917           add patch to not install programs
3918
3919 2004-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3920
3921         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
3922         * gst-libs/ext/ffmpeg/.pc/autotools/.pc:
3923         * gst-libs/ext/ffmpeg/autogen.sh:
3924         * gst-libs/ext/ffmpeg/configure.ac:
3925           added m4 dir to autotools patch to fix imlib and sdl warnings
3926
3927 2004-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3928
3929         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
3930         * gst-libs/ext/ffmpeg/configure.ac:
3931         * gst-libs/ext/ffmpeg/patches/series:
3932           add patch to remove imlib completely
3933
3934 2004-03-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3935
3936         * configure.ac: use new setup with mirrored cvs tree
3937
3938 2004-03-10  David Schleef  <ds@schleef.org>
3939
3940         * gst-libs/ext/ffmpeg/patch/asm.diff:  Add a patch that
3941         decreases register usage.  (bug #136658)
3942
3943 2004-03-10  David Schleef  <ds@schleef.org>
3944
3945         * configure.ac: bump gstreamer API number to 0.8
3946
3947 2004-03-09  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3948
3949         * ext/ffmpeg/Makefile.am:
3950           Prevent more symbol conflicts...
3951         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3952           Up priority/rank for MPEG-4 decoder. Reason is simple: it's well-
3953           tested and by far outperforms xviddec/divxdec. They'll get some
3954           other, slightly lower, rank.
3955         * gst-libs/ext/ffmpeg/patch/autotools.diff:
3956           Tweaking...
3957         * gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
3958           Prevent more symbol conflicts. I changed this (to pass 'make
3959           distcheck') in the one patch, so need to change it here too.
3960         * gst-libs/ext/ffmpeg/patch/disablemmx.diff:
3961           Re-enable MMX. :).
3962         * gst-libs/ext/ffmpeg/patch/functions.diff:
3963           Bla.
3964
3965 2004-03-09  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3966
3967         * configure.ac:
3968           Patch properly. Update version.
3969         * gst-libs/ext/ffmpeg/Makefile.am:
3970           Comment out patching - all handled by configure.
3971         * gst-libs/ext/ffmpeg/Tag:
3972           Update version.
3973         * gst-libs/ext/ffmpeg/patch/autotools.diff:
3974           Some small updates to improve compiling.
3975         * gst-libs/ext/ffmpeg/patch/functions.diff:
3976           Update date.
3977         * gst-libs/ext/ffmpeg/patch/matroska.diff:
3978           Newer patch - see ffmpeg-devel mailinglists.
3979         * gst-libs/ext/ffmpeg/patch/function.patch:
3980           Remove old cruft.
3981         * gst-libs/ext/ffmpeg/patch/disabletools.diff:
3982           Now handled by --disable-... in configure.
3983
3984 2004-03-07  David Schleef  <ds@schleef.org>
3985
3986         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
3987         Add cinepak format.  (bug #136470)
3988
3989 2004-03-05  David Schleef  <ds@schleef.org>
3990
3991         * configure.ac:  Call ffmpeg's configure with --disable-v4l,
3992         --disable-oss-audio, --disable-dv1394 (bug #127873)
3993
3994 2004-03-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3995
3996         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
3997           Fix quicktime type recognition in ffmpeg. We returned a bogus
3998           caps, which caused ffdemux_quicktime to be chosen over qtdemux.
3999           This fixes that.
4000
4001 2004-03-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>
4002
4003         * configure.ac:
4004           Brackets cause autoconf errors. So remove them.
4005         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add):
4006           Actually use the event/convert/query functions. D'oh.
4007
4008 2004-03-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>
4009
4010         * configure.ac:
4011         * gst-libs/ext/ffmpeg/Makefile.am:
4012           Slightly change the way we set this up. Ugly, but now it works
4013           again. This baby is looking for a proper fix.
4014         * gst-libs/ext/ffmpeg/Tag:
4015           Apparently CVS and me disagree on the tag... Ohwell, CVS wins.
4016         * gst-libs/ext/ffmpeg/patch/autotools.diff:
4017         * gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
4018           Slight nag on a link between lavf/lavc in ffmpeg. Not really
4019           important for us since the code is the same in the end, but this
4020           is actually correct from a per-patch point-of-view...
4021
4022 2004-03-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>
4023
4024         * gst-libs/ext/ffmpeg/Makefile.am:
4025           Fix patching.
4026
4027 2004-03-01  Ronald Bultje  <rbultje@ronald.bitfreak.net>
4028
4029         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect):
4030           Fix B-frame DivX5/XviD display by removing the truncated flag when
4031           not needed.
4032         * gst-libs/ext/ffmpeg/patch/autotools.diff:
4033           Remove link to libavcodec - it causes symbol conflicts (why?).
4034
4035 2004-02-29  Ronald Bultje  <rbultje@ronald.bitfreak.net>
4036
4037         * HACKING:
4038           Add some basic documentation on how our wrapping works.
4039         * TODO:
4040           Add a list of things that could be worked on or that need doing.
4041         * configure.ac:
4042           Update snapshot.
4043         * ext/ffmpeg/Makefile.am:
4044           Changne .la links. See below (autotools patch).
4045         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
4046           Enable demuxers. See below (gstffmpegdemux.c).
4047         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
4048           Realmedia caused a crash - fix that.
4049         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
4050         (gst_ffmpegdemux_base_init), (gst_ffmpegdemux_init),
4051         (gst_ffmpegdemux_close), (gst_ffmpegdemux_dispose),
4052         (gst_ffmpegdemux_stream_from_pad),
4053         (gst_ffmpegdemux_src_event_mask), (gst_ffmpegdemux_src_event),
4054         (gst_ffmpegdemux_src_format_list),
4055         (gst_ffmpegdemux_src_query_list), (gst_ffmpegdemux_src_query),
4056         (gst_ffmpegdemux_src_convert), (gst_ffmpegdemux_add),
4057         (gst_ffmpegdemux_open), (gst_ffmpegdemux_loop),
4058         (gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
4059           Right. OK, so I fixed up the demuxing and have it basically-working,
4060           and the best way to get some more people to test it is to actually
4061           enable it. I'm not sure if we want this for 0.8.0, but we can at
4062           least give it a try. I've tested avi, matroska and mpeg, all appear
4063           to work. The cool thing is that this gives us instant support for
4064           several exotic formats that we'd never care about ourselves. Again,
4065           this needs more testing for it to still be enabled in 0.8.0, but I
4066           want to give it a try...
4067         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
4068         (gst_ffmpegmux_init), (gst_ffmpegmux_request_new_pad),
4069         (gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
4070         (gst_ffmpegmux_register):
4071           Add some fixups that I use locally. Make it work in the case of
4072           MPEG encoding, but the muxer is still not in shape to be enabled.
4073         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
4074         (gst_ffmpegdata_read), (gst_ffmpegdata_write),
4075         (gst_ffmpegdata_seek), (gst_ffmpegdata_close):
4076           Some small fixups that crept into it while it was disabled for the
4077           last few years. Basically works.
4078         * gst-libs/ext/ffmpeg/Makefile.am:
4079           Instead of having our local-autotoolized version, I patch the ffmpeg
4080           source to be fully autotoolized. That means a simple SUBDIRS here
4081           is now enough.
4082         * gst-libs/ext/ffmpeg/Tag:
4083           Version update.
4084         * gst-libs/ext/ffmpeg/patch/autotools.diff:
4085           Autotoolize ffmpeg. Needs to be sent to ffmpeg-devel@...
4086         * gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
4087           Don't install their libs.
4088         * gst-libs/ext/ffmpeg/patch/disablemmx.diff:
4089           Don't use MMX. It cannot ocmpile using PIC.
4090         * gst-libs/ext/ffmpeg/patch/disabletools.diff:
4091           Don't compile/install their tools, we don't use them.
4092         * gst-libs/ext/ffmpeg/patch/functions.diff:
4093           Prevent symbol conflicts.
4094         * gst-libs/ext/ffmpeg/patch/matroska.diff:
4095           Add a matroska demuxer. Needs to be sent to ffmpeg-devel@...
4096
4097 2004-02-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4098
4099         * configure.ac: releasing 0.7.1 "True Colors"
4100
4101 2004-02-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4102
4103         * gst-ffmpeg.spec.in: fix spec file
4104
4105 2004-02-14 Christian Schaller <Uraeus@gnome.org>
4106
4107         * gst-ffmpeg.spec.in: add spec file
4108
4109 2004-02-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4110
4111         * creation
4112
4113