summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ve_vfw.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix printf format string mismatch, eliminates the warning:diego2008-03-061-1/+1
| | | | | | | ve_vfw.c:252: warning: format '%d' expects type 'int', but argument 2 has type 'long int' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26180 b3059339-0415-0410-9bf9-f77b7e298cf2
* ve_vfw.c: #include aviheader.h instead of wine avifmt.huau2008-03-061-1/+1
| | | | | | | | | | | | | | | | | | Compilation was broken after libmpdemux/muxer.h started including libmpdemux/aviheader.h. ve_vfw.c included both muxer.h and loader/wine/avifmt.h, and the latter has definitions that conflict with aviheader.h ones. Fix by removing the avifmt.h include. I did not carefully check that changing the includes doesn't break any ve_vfw.c code. However it at least fixes compilation, and if the avifmt.h versions differ in some significant way then the code is fundamentally broken anyway: ve_vfw cannot use different versions of the avi struct definitions when it also uses shared muxer.h types (those must use the standard definitions to keep the type compatible with what's used in other files). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26178 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use correct printf length modifiers, fixes the following warnings:diego2007-12-031-15/+15
| | | | | | | | | | | | | | | | | | | | | | ve_vfw.c: In function 'vfw_start_encoder': ve_vfw.c:182: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:183: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:184: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:187: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long int' ve_vfw.c:188: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:190: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:191: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:192: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:195: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long int' ve_vfw.c:196: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:216: warning: format '%d' expects type 'int', but argument 4 has type 'long int' ve_vfw.c:217: warning: format '%d' expects type 'int', but argument 4 has type 'long int' ve_vfw.c:218: warning: format '%d' expects type 'int', but argument 4 has type 'long int' ve_vfw.c:221: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'long int' ve_vfw.c:222: warning: format '%d' expects type 'int', but argument 4 has type 'long int' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25290 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add Coinitialize function to vfw encoder and win32 loader.compn2007-10-171-1/+23
| | | | | | | | | | Fixes crash when trying to load vp7vfw.dll in vfw2menc. Patch by Gianluigi Tiesi mplayer___netfarm.it http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2007-September/054136.html git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24798 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix double close() in ve_vfw.ciive2007-03-241-1/+0
| | | | | | | trivial patch by Gianluigi Tiesi <mplayer netfarm it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22817 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explicit location for headers from the libmpdemux/ directory.diego2007-03-151-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22619 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explicit location for headers from the stream/ directory.diego2007-03-151-2/+2
| | | | | | | Now for the encoding-related files as well. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Include loader/ prefix in #include path everywhere.diego2007-03-151-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22595 b3059339-0415-0410-9bf9-f77b7e298cf2
* Controllable quality setting of VFW enconding, through the dumped state of ↵alex2007-02-181-2/+51
| | | | | | the dialog box. Patch by Gianluigi Tiesi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22270 b3059339-0415-0410-9bf9-f77b7e298cf2
* muxers now write to output muxer->stream rather than to muxer->filenicodvb2006-12-181-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21676 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move #ifdefs around complete files into the build system.diego2006-06-211-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18774 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT ↵reynaldo2006-03-311-22/+22
| | | | | | chello DOT hu with LOTS of modifications by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change 'if(verbose)' to the more appropriate mp_msg_test.diego2006-03-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17970 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing pts through the filter layer (lets see if pts or cola comes out at ↵michael2006-03-211-2/+2
| | | | | | the end) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
* change muxer_write_chunk() so that pts/dts _could_ be passed from encoder to ↵michael2006-01-261-1/+1
| | | | | | muxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17488 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.diego2005-11-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace VO and VF numeric flags with #defined identifiershenry2005-04-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes for encoding of multiple fileshenry2005-03-011-0/+1
| | | | | | | | | | - do not uninitialize video encoder between files - checks for image size & format change moved from mencoder.c to vfilters by Oded Shimon <ods15@ods15.dyndns.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14879 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initialized BITMAPINFOHEADER to 0 to avoid problems, esp. windows has problemsreimar2005-01-201-1/+1
| | | | | | | when unused parts have bogus values. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14550 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use aspect from encoder for AVI vprp headerranma2004-03-241-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12062 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed the historic cfgparser and switched full to the new config parser ↵alex2003-08-131-2/+2
| | | | | | (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10595 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup of the muxer API, func parameters muxer & muxer_f eliminated.arpi2003-01-191-3/+1
| | | | | | | patch by Andriy N. Gritsenko <andrej@lucky.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9015 b3059339-0415-0410-9bf9-f77b7e298cf2
* the long-waited MUXER layer, and new MPEG-PS muxerarpi2002-12-271-5/+6
| | | | | | | patch by Andriy N. Gritsenko <andrej@lucky.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8586 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-18/+18
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixesarpi2002-09-291-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7558 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed to comply with new loaderalex2002-09-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7391 b3059339-0415-0410-9bf9-f77b7e298cf2
* changing return type of put_image void->intarpi2002-09-101-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7369 b3059339-0415-0410-9bf9-f77b7e298cf2
* FreeBSD fixnexus2002-09-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7239 b3059339-0415-0410-9bf9-f77b7e298cf2
* merged with dll_init.calex2002-09-011-5/+174
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7232 b3059339-0415-0410-9bf9-f77b7e298cf2
* mostly compiler warning fixes, some small bugfixarpi2002-08-281-1/+3
| | | | | | | patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7128 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for codec selectionalex2002-05-131-1/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6084 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_image.h and img_format.h moved to libmpcodecsarpi2002-04-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5608 b3059339-0415-0410-9bf9-f77b7e298cf2
* capabilities support -> automatic insertion of scale, expand, pparpi2002-04-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5566 b3059339-0415-0410-9bf9-f77b7e298cf2
* soem fixesarpi2002-04-111-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5552 b3059339-0415-0410-9bf9-f77b7e298cf2
* encodersarpi2002-04-101-0/+100
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5551 b3059339-0415-0410-9bf9-f77b7e298cf2