Commit graph

1327 commits

Author SHA1 Message Date
Stefan Kost
dd7b219c42 ffmpeg: don't divide by 0 when checking the framerates
Check for denom==0 first and set it to on in that case.
2011-04-08 11:42:33 +03:00
Wim Taymans
4dc84f9aff Merge branch 'master' into 0.11
Conflicts:
	ext/ffmpeg/gstffmpegdec.c
2011-04-07 12:38:01 +02:00
Wim Taymans
112231dc89 common: recommit to updated version 2011-04-07 12:37:09 +02:00
Wim Taymans
6444bd2557 dec: avoid making the buffer writable
Set the caps right after allocation of the buffer because we know the buffer is
writable then and we are correctly negotiated. Since ffmpeg keeps around
references to frames, making the buffer metadata writable where it was done
before pushing will always end up with a copy and that makes the sink do a slow
memcpy all the time.
2011-04-07 12:34:51 +02:00
Wim Taymans
8faa991476 Merge branch 'master' into 0.11
Conflicts:
	ext/ffmpeg/gstffmpegdec.c
2011-04-07 12:11:37 +02:00
Wim Taymans
450a4fdb51 dec: Fixes
Set caps on buffers right after we allocate them to avoid refcounting problems
and having to make the buffer metadata writable for no good reason.
Don't unmap the memory with a 0 size or we would modify the memory size when
it's not needed.
2011-04-07 12:02:57 +02:00
Miguel Angel Cabrera Moya
f63d36ade8 ffmpegdec: do buffer padding before parsing and before decoding
FFMpeg parsing and decoding calls require to additionally allocate bytes
at the end of the input bitstream and this padding must be initialized
to zero.

https://bugzilla.gnome.org/show_bug.cgi?id=595590
2011-04-05 14:14:38 +02:00
Stefan Kost
2289cc2d5b Automatic update of common submodule
From 1ccbe09 to c3cafe1
2011-04-04 15:58:24 +03:00
Wim Taymans
8095b31f9c ffmpeg: port to new memory API 2011-04-04 13:18:13 +02:00
Wim Taymans
b304fff551 Merge branch 'master' into 0.11 2011-04-04 12:24:03 +02:00
Wim Taymans
4345d10577 WIP: porting to 0.11 2011-04-04 12:23:05 +02:00
Sebastian Dröge
b46a849499 Automatic update of common submodule
From 193b717 to 1ccbe09
2011-03-25 22:35:11 +01:00
Stefan Kost
b875244820 Automatic update of common submodule
From b77e2bf to 193b717
2011-03-25 14:57:12 +02:00
Sebastian Dröge
309440d0f5 Automatic update of common submodule
From d8814b6 to b77e2bf
2011-03-25 09:33:36 +01:00
Sebastian Dröge
aecbd7931f Automatic update of common submodule
From 6aaa286 to d8814b6
2011-03-25 09:09:54 +01:00
Stefan Kost
9754a1e262 Automatic update of common submodule
From 6aec6b9 to 6aaa286
2011-03-24 18:50:36 +02:00
Luis de Bethencourt
c50822e605 autogen: wingo signed comment 2011-03-22 13:30:18 +01:00
Wim Taymans
739b439f02 Merge branch 'master' into 0.11 2011-03-04 14:00:28 +01:00
Mark Nauwelaerts
74145fb2e5 configure.ac: no need to mess with AS 2011-02-28 19:41:04 +01:00
Mark Nauwelaerts
4be4063fd9 configure.ac: cygwin/mingw32; enable linking static non-import libs
... such as to internal ffmpeg static libs.

Fixes .
2011-02-28 19:39:38 +01:00
Mark Nauwelaerts
68e51f2a15 configure.ac: export plugin description more platform independent
Fixes .
2011-02-28 19:39:15 +01:00
Mark Nauwelaerts
77040f373d Automatic update of common submodule
From 1de7f6a to 6aec6b9
2011-02-28 18:33:49 +01:00
Wim Taymans
88271530e4 ffmpeg: disable resample 2011-02-28 12:13:17 +01:00
Wim Taymans
7a225ab604 codecmap: use new g_value getters 2011-02-28 12:13:17 +01:00
Wim Taymans
73f2667ff2 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
2011-02-28 12:12:51 +01:00
Julien Isorce
32ca9c111b ffvideoscale: add support for UYVY
Fixes 
2011-02-14 16:58:49 +01:00
Stefan Kost
2bea2467ce Automatic update of common submodule
From f94d739 to 1de7f6a
2011-02-14 12:54:26 +02:00
Tim-Philipp Müller
8d40c6357d ffmpegdec: improve error message when set_caps is called but we have no mapping
This may happen e.g. if gst-ffmpeg is compiled against an external
libavcodec and the external lib is upgraded.

See e.g.
https://bugzilla.gnome.org/show_bug.cgi?id=640825
2011-01-31 23:28:33 +00:00
Edward Hervey
a2a4ee93c4 codecmap: Add mapping for g722 2011-01-25 16:34:04 +01:00
Edward Hervey
199c03a2e0 gst-libs: Remove .config file from ffmpeg build when cleaning up 2011-01-25 11:30:02 +01:00
Edward Hervey
5429138b89 codecmap: Add proper caps name for Camstudio 2011-01-24 18:29:24 +01:00
Edward Hervey
7879105579 gstffmpegdemux: Ignore more pseudo demuxers 2011-01-24 18:29:00 +01:00
Edward Hervey
9a1d1fef32 gstffmpegmux: Blacklist some muxer formats 2011-01-24 17:43:44 +01:00
Edward Hervey
cc4a11831d gstffmpegcodecmap: Add some new codec mappings
VP8
LAGARITH
GSM
GSM_MS
2011-01-24 17:26:20 +01:00
Edward Hervey
ed1b1eefaf ffmpegprotocol: Slight API change 2011-01-24 17:26:20 +01:00
Edward Hervey
e879166d44 configure.ac: Don't forget to include new libavcore library 2011-01-24 17:26:20 +01:00
Edward Hervey
fdb604d1cf ffmpegrev: Switch to revision 26402 of ffmpeg
This is the last svn revision. They have switched to using git...
but since there's still some controversy, we'll stick to this version
for the time being and maybe switch to using a git submodule in a month
with the same equivalent revision (or newer/older if needed)
2011-01-24 17:26:15 +01:00
Tim-Philipp Müller
60e8ca179f configure: require core 0.10.31
For gst_util_fraction_compare()
2011-01-14 09:36:46 +00:00
Stefan Kost
34b4cb7cf7 Automatic update of common submodule
From e572c87 to f94d739
2011-01-11 15:51:38 +02:00
Tim-Philipp Müller
0907606b32 Automatic update of common submodule
From ccbaa85 to e572c87
2011-01-10 16:37:49 +00:00
Tim-Philipp Müller
b8b627b6b9 Automatic update of common submodule
From 46445ad to ccbaa85
2011-01-10 14:55:03 +00:00
Edward Hervey
2de5aaf22d ffmpegdec: Set the mp3 decoder to a rank of NONE
It's just causing too many headaches. This will force people to use
a working mp3 decoder, like mad.
2011-01-07 18:08:15 +01:00
Edward Hervey
051e2de3d3 ffmpegdec: Fix unitialized variables on macosx 2011-01-05 16:59:55 +01:00
Edward Hervey
a90df26e15 ffmpegenc: Disable non-audio/video encoders
Fixes 
2011-01-03 11:45:04 +01:00
Wim Taymans
22d44c87b1 ffmpgdec: work around parser timestamp bug
Sometimes the parser loses track of timestamps and starts to reuse old
timestamp. Feed it some dummy data and clear some context variables to work
around the problem.
2010-12-21 12:14:22 +01:00
Edward Hervey
3177801827 Automatic update of common submodule
From 169462a to 46445ad
2010-12-20 17:47:51 +01:00
Sebastian Dröge
dde194dc1a ffvideoscale: Change classification to Filter/Converter/Video/Scaler 2010-12-16 10:12:02 +01:00
Sebastian Dröge
a5910b4ec4 ffdeinterlace: Change classification to Filter/Effect/Video/Deinterlace 2010-12-16 10:05:03 +01:00
Stefan Kost
73f9eed375 Automatic update of common submodule
From 20742ae to 169462a
2010-12-15 14:56:50 +02:00
Stefan Kost
eb202fde0a Automatic update of common submodule
From 011bcc8 to 20742ae
2010-12-13 16:24:24 +02:00