1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-13 18:36:09 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
uau
5c9b90d7a1 Make some functions static.
Patch by Stefan Huehner, stefan at huehner org.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18955 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-08 15:26:36 +00:00
atmos4
3cb89b0765 Added DPI (Print-Resolution) and Pixel-Aspect awareness to vo_jpeg.
Use -noaspect if you want Square-Px AR for anamorphic content (old behaviour).
Note: Many applications might ignore these settings, but they matter for
print design and video editing (Tested with Photoshop).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17437 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-20 01:37:15 +00:00
ivo
cd55954e4e Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's
changed to int now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 01:24:37 +00:00
henry
dbb001bae2 replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 15:52:38 +00:00
ivo
359bdf3bed Fix compile warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14851 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-28 00:26:53 +00:00
ivo
b0c0255f08 vo_jpeg now uses the generic int_pos() from subopt-helper.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14848 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 22:25:42 +00:00
reimar
ca8fc9929b New suboption type: malloc'ed, zero terminated string
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14539 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-19 17:10:20 +00:00
ivo
4fc24f5c2c Replaced suboption parser by call to suboption helper.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14509 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-15 23:54:49 +00:00
faust3
e77c880367 mingw compile fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13348 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-15 15:17:06 +00:00
ivo
f9866da609 Added one more error check. Forgot it last time (grrr :) ).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13323 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-12 01:35:41 +00:00
ivo
3595966380 Fixed typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13318 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-11 21:15:13 +00:00
ivo
a35c5903bb * Changed malloc and strncpy to strdup. Less code.
* More error checking. If malloc or strdup fails, print message and exit.
* Free malloc'd memory when uninit is called.
* Moved default of jpeg_outdir to preinit, so it is always malloc'd and can
  easily be freed at uninit.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13317 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-11 19:59:31 +00:00
ivo
38321e0fe4 Removed unused variable (leftover of having two instances of directory creation
code, before I moved both and created a function for that).
Made code clearer by moving ++variable out of a function call.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13301 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-10 01:15:24 +00:00
ivo
07839ac723 Renamed some MSGTR_VO_JPEG_* messages to MSGTR_VO_* messages, so they can
easily be re-used by other video output drivers, without having inapproriate
names.

To make live easier for the translators, I have made the same changes to
the German and Spanish translations (those who already picked up on the
MSGTR_VO_* messages).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13285 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-08 03:51:37 +00:00
ivo
b8c10b5b26 This patch moves the directory creation code to a separate function. I have
tried to re-use as much code as possible, to reduce the size of the patch.
All duplicate code is removed, resulting in my first patch that actually
decreases the size of the binary by about 700 bytes :-)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13284 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-08 01:11:16 +00:00
ivo
0b90eb2a02 Some minor vo_jpeg fixes:
Removed unused variable dst.
MPlayer now exits if it is unable to create a file for JPEG output and prints
an appropriate message, instead of going on if all is right (which is not).
Added line to authors file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13253 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-05 17:54:09 +00:00
ivo
f36b6cd3a1 Removal of -jpeg commandline option.
It's replaced by an options parser in the module itself. Instead of
mplayer -vo jpeg -jpeg options one now has to use mplayer -vo jpeg:options.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13248 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-04 22:59:33 +00:00
ivo
d5d36f90c9 One-time cosmetics update.
I finally got rid of the horrible one-space indentation. Changed it to four
spaces. Also changed all function calls, assignments, et cetera, to conform
to a certain 'standard'. Removed all trailing whitespace. No more tabs (width
can be different from editor to editor), it's all spaces now. Next
semi-cosmetics stop will be doxygen comments.

Tested: It compiles to exactly the same object as before. No functional
change has been made.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13218 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-01 02:31:24 +00:00
ivo
77db87aa41 Added output to multiple directories for vo_jpeg.
Updated the manual page to describe the new options.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13159 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-26 22:18:25 +00:00
diego
7fe7f31e82 embarassing typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12858 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-19 23:11:06 +00:00
alex
5e64850517 Spring cleanup: supporting only RGB24 as input (native jpeg lib supports only that, maybe we could later add nativ YCbCr (YUV) support, but not swscale ones)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9990 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-25 20:37:26 +00:00
arpi
c9142119d2 fixed query_format (RGB24 supports OSD and is preferred)
based on patch by Alvaro Lopes <alvieboy@alvie.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9020 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-19 15:25:03 +00:00
pontscho
57f77bb41a patch from tonglijing <tong@intec.iscas.ac.cn>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8268 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-24 21:28:32 +00:00
alex
6811f96358 removed get_info, using the same sheme as in libmpcodecs instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-11 15:22:10 +00:00
arpi
8f072bbc54 U-V swapping fixed, patch by Joey Parrish <joey@yunamusic.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7488 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 18:43:53 +00:00
arpi
d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
alex
64bedd9683 finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 21:32:32 +00:00
michael
486f270286 fixing swscaler bug ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6752 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-18 22:44:31 +00:00
pontscho
b3eb57b605 fix ".". thanksz pl.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5660 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-17 18:37:11 +00:00
pontscho
0b657de32c upsz, 10l :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5650 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-16 11:40:19 +00:00
pontscho
a8b3218c2a add jpeg support for libvo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5649 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-16 11:21:59 +00:00