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