0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
Commit Graph

2373 Commits

Author SHA1 Message Date
ods15
dcc0b8e177 sync to new libnut
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19963 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 18:48:18 +00:00
reimar
32254e3cb6 Missing part of previous patch to demux_real.c (revision 19958)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19960 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 17:00:09 +00:00
reimar
b6d6af240c int->unsigned to avoid crash to sign extension, partially fixes bug #580
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19958 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 16:43:57 +00:00
ods15
978ec64191 better rounding for audio_delay_fix in muxer_avi.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19932 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 10:27:17 +00:00
reimar
b4056ef407 Try .mxf with libavformat first, works around a too greedy mpeg-demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19930 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 09:48:41 +00:00
nicodvb
bc996f4dee demuxer->movi_end is updated after ds_fill_buffer(),
this in demux_mpg_probe() end_seq_start must be assigned
after ds_fill_buffer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19902 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 22:32:51 +00:00
ods15
2f07a40d8d conditional declerations are unnecessary
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19868 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-17 10:22:23 +00:00
ods15
1b8971d82e Add demux_nut to MPlayer repo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19867 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-17 09:32:28 +00:00
eugeni
13387709ef Fix r19815: mkv_d->duration could be assigned an uninitialized value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19818 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-13 02:02:17 +00:00
eugeni
fa6bc3aa4f Fix seeking in Matroska files with non-default TimecodeScale value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19817 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-12 21:45:06 +00:00
eugeni
ee0ac67094 Fix block duration calculation in mkv demuxer.
According to specs, BlockDuration value is based on TimecodeScale.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19816 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-12 21:40:01 +00:00
eugeni
3f1e7dd9a8 Fix movie duration calculation in case when TimecodeScale element comes after
Duration element.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19815 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-12 21:33:10 +00:00
diego
c7ee94590a Support for variable fps OGM files, blessed by Moritz.
patch by Sergey Khlutchin, Elphel, Inc


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19808 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-12 09:00:10 +00:00
reimar
a498ea8eb8 Avoid division by zero DEMUXER_CTRL_GET_PERCENT_POS with only one frame by just
returning DONTKNOW. A better formula to calculate position would probably be a better
fix though.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19800 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-11 19:01:20 +00:00
rtogni
28d3865047 Use better resolution for pts computation.
Fixes desync in Real live streams with huge pts values


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19701 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-05 21:53:09 +00:00
nicodvb
244d6ad8e8 in fixup_vorbis_wf() set to 0 bitrates indicated as -1 (unspecified, according to the specs); patch by Andrew Savchenko - Bircoph list ru
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19700 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-05 20:18:42 +00:00
rtogni
b19a9bf88d Workaround for live Real streams starting with nonzero pts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19661 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-03 18:30:59 +00:00
reimar
2e802cf855 Fix crash on DEMUXER_CTRL_SWITCH_AUDIO introduced by aid_vid_mismatch patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19651 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-03 10:10:57 +00:00
eugeni
cc29cb220f Add support for rendering matroska plaintext subtitles with libass.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19649 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-02 20:46:26 +00:00
eugeni
e12a9c7206 Matroska subtitles are always utf-8, no need to recode them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19648 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-02 19:55:45 +00:00
eugeni
1ad2da1fbb Fix read beyond the end of allocated memory block.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19647 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-02 19:51:26 +00:00
eugeni
62bfae1406 Display track names in matroska files.
Patch by Paul Lebedev _paul d lebedev a gmail d com_.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19646 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-02 19:39:24 +00:00
nicodvb
549b7f03c8 forgotten to pass the crc32 be2me_32()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19643 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-02 19:00:30 +00:00
eugeni
a12ab82a62 Extract "application/x-font" attachments from matroska, in addition
to "application/x-truetype-font". They usually contain Type1 fonts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19627 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 19:47:39 +00:00
diego
66b1d0d001 The FSF changed postal address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 12:11:11 +00:00
nicodvb
b792548aa7 include forgotten limits.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19617 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-31 21:26:02 +00:00
nicodvb
735e934c58 added lavfdopts to pass options to libavformat
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19604 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-30 22:25:40 +00:00
diego
368bf2263b Remove XMMS_CFLAGS from CFLAGS, the variable is never set.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19558 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-27 20:17:19 +00:00
reimar
ccf75d6711 Get rid of demux_aid_vid_mismatch mess.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19546 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-26 19:17:04 +00:00
nicodvb
d8dab41707 don't try to autodetect aac in pes packets (the detection is prone to give wrong results); use the stream_type from the PMT instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19543 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-26 17:31:42 +00:00
diego
ebacc18087 demux_avs compilation should depend on WIN32DLL support, not a linker flag.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19500 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-22 23:18:58 +00:00
eugeni
5762122f37 SSA/ASS parser reworked, with 2 main results:
support for script embedded fonts (fonts, uuencoded directly into script) added;
matroska interface functions have got more sensible names.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19498 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-22 22:11:01 +00:00
nicodvb
b38ff54517 100l: *chapter_name was copied from the pointer rather than strupd()-ed (and next free()d in mplayer.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19485 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-21 19:52:11 +00:00
nicodvb
b7b319395e demuxer_seek_chapter() returns informations about chapters count and name
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19484 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-21 19:19:00 +00:00
nicodvb
1870190d37 clarification in a comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19445 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 19:03:59 +00:00
nicodvb
e8870c3db7 support relative seeking in the stream-driven case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19444 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 19:03:31 +00:00
nicodvb
01602c31b3 added first revision of demuxer_seek_chapter()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19441 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 16:48:22 +00:00
eugeni
bdb9b1d5dc Fix seeking in matroska files when timecodes do not start from zero.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19436 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 12:20:43 +00:00
diego
b02e7924b9 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-17 17:19:56 +00:00
reimar
16793d27a7 Simplistic attempt to make H.264 over RTSP work.
Did not work for me, but reason is unclear.
This at least moves things one step step closer to working


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19421 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-16 23:40:51 +00:00
reimar
85d85da0f2 Update information and print new value when demux_info_add is called
twice for the same tag.
Should show currently playing title with Ogg streams.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19419 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-16 23:32:39 +00:00
rtogni
1c4b71edd9 Add support for 13k Voice (Qclp) in 3g2 files
Fix vorbis detection so that it doesn't misdetect other codecs



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19369 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-11 22:57:33 +00:00
michael
b85ad74dc9 pass average bitrate from encoder to (lavf) muxer
this fixes some problems with muxing mp4 files for the psp


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19366 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-10 21:48:41 +00:00
reimar
a6bc70e3cb Support for version 1 (64 bit) mvhd and mdhd, taken from libavformat mov demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19349 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-06 19:26:17 +00:00
eugeni
1de0c3327d Add matroska chapter seeking capability.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19348 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-06 18:55:34 +00:00
diego
67c9657f5d Move store_ughvlc to demux_mov as demux_ogg is not always compiled in.
inspired by a patch from Emanuele Giaquinta, emanuele.giaquinta %@% gmail.com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19332 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 21:19:06 +00:00
nicodvb
2205e86985 auto-detection of mpeg-ps in mov; initial patch by John Koleszar jkoleszar on2 com (fixed by me)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19331 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 20:18:21 +00:00
ben
2d112d6fe4 moved pnm.h to stream/ (where it belongs)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19317 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 16:55:48 +00:00
diego
ab02002f0d Forgotten part of the LIVE555 configure test simplification.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19309 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-03 22:18:21 +00:00
ben
e503389acf mf.[hc] belong to libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19306 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-03 19:31:36 +00:00
ben
8f8547ae86 removed deprecated test.c file from libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19282 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 20:32:38 +00:00
ben
49867bd432 introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 17:39:17 +00:00
rtogni
1b397a5350 Remove useless include
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19272 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-30 22:54:27 +00:00
rtogni
f29898360c Make some more function static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19271 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-30 22:54:07 +00:00
rtogni
0b85735f5d md5 result is 16 bytes, not 20
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19268 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-30 21:50:10 +00:00
ben
78a534a906 removed now useless duplicate includes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19267 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-30 21:49:37 +00:00
rtogni
d01ad3b845 xor_table can't be NULL, remove useless check
make xor_table static


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19263 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-30 17:02:27 +00:00
rtogni
028454daf8 The real hash function is just a md5, replace with lavu code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19261 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-30 14:45:27 +00:00
nicodvb
53dead1f8b no need to reming the copyright with msg_(), the notice in the source is enough
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19257 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-30 08:15:59 +00:00
nicodvb
714109da01 re-added forgotten return in send_mpeg_lpcm_packet()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19249 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-29 18:41:25 +00:00
nicodvb
92c2148d7e final cleanup: implemented send_mpeg_pes_packet() and send_mpeg_lpcm_packet() using new send_mpeg_pes_packet_ll()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19248 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-29 18:39:07 +00:00
nicodvb
22eb7d2acb ptslen was set to 5 even when no pts==0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19245 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-29 16:21:14 +00:00
reimar
cb1dbb73a7 Implement DEMUXER_CTRL_GET_TIME_LENGTH and DEMUXER_CTRL_GET_PERCENT_POS,
patch by Paul-Francois Fontigny pff at filmik be


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19225 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 18:19:44 +00:00
reimar
90e39d65dd 10l, last commit swapped U and V planes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19224 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 17:56:38 +00:00
reimar
6ff2c1e486 Handle frames with stride correctly (e.g. the "Version" source of current AVS).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19223 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 17:04:43 +00:00
reimar
79cccca643 Do not count each decoded frame twice.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19222 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 17:03:08 +00:00
reimar
8bfad4d4dc Cosmetics for last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19219 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 15:05:35 +00:00
reimar
a367201b8e Move more stuff under if (avs_has_video... to simplify later patches.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19218 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 15:04:10 +00:00
reimar
048f1a6244 set pts of the demux patcket correctly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19217 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 14:44:11 +00:00
reimar
cf6b945116 Move variable declarations to the block level where they are actually used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19216 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 14:37:41 +00:00
reimar
15f92d9016 call av_release_clip at uninit, part of a patch by Gianluigi Tiesi <mplayer at netfarm it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19215 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 14:24:04 +00:00
reimar
c3cdf1ced9 Do not treat AV_NOPTS_VALUE as a valid duration value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19212 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 13:39:11 +00:00
diego
56a1c4c109 The C99 function strtof is unavailable in some BSD variants.
patch by Jan Knutar, jknutar $@$ nic fi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19207 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 21:02:44 +00:00
reynaldo
db5487225c marks some read-only char* inside structs as const, patch by Stefan Huehner, stefan At huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19199 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 17:35:06 +00:00
diego
22b5b6d0f5 Unify include paths in the build system, part I.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19195 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 10:08:17 +00:00
diego
51a2db3628 Introduce general V4L variable/define.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19194 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 09:34:32 +00:00
diego
68ce26863c Missed HAVE_TV_V4L --> HAVE_TV_V4L1 rename.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19193 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 09:33:24 +00:00
diego
a881f35f1a Rename *v4l variable to *v4l1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19192 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 09:30:39 +00:00
reimar
42d99bda52 Incorrect check in gxf demuxer leading to crash with textKO.gxf sample file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19187 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-26 17:22:01 +00:00
gpoirier
76590563aa fix 3 bugs in libmpdemux/demux_mf.c
1. Relative seek is seeking 1 frame too far.
2. Percent seek is seeking 1 frame too far (beyond EOF) at 100%.
3. Check for EOF is checking 1 frame too far.
Patch by Paul-Francois Fontigny < pff AAA filmik PPP be>
Original thread:
Date: Jul 16, 2006 12:40 PM
Subject: [MPlayer-dev-eng] [PATCH] bugfix for libmpdemux/demux_mf.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19185 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-26 09:30:43 +00:00
atmos4
7d2486e71e Add simple edit list support to mov demuxer, it supports delay of audio and video tracks at the beginning of the file. E.g. video starts at 0.0s audio at 4.0s. It uses mplayers a/v-delay to achieve sync so please use with -framedrop for fastest sync. More Details in my mail to dev-eng from 2006-07-22.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19175 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 22:34:02 +00:00
reimar
902b1a22b1 Take start time into consideration when calculation percentage position
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19165 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 09:05:10 +00:00
ben
856401960f rename rtsp.c to stream_rtsp.c for consistency with other input modules
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19160 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-22 14:40:14 +00:00
rathann
02362913a7 Native MPEG4 SP/ASP/AP support in Matroska.
Patch by Aurelien Jacobs and myself.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19159 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-22 14:35:49 +00:00
ben
2468704cc7 display the right MPEG packet type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19157 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-22 10:42:57 +00:00
nicodvb
e8b4265feb cosmetics: comments and reindentation asked by gxben
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19154 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-22 09:59:44 +00:00
nicodvb
fdcee83d90 simplified mpeg packetizer used by hw mpeg decoders/vo - first round
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19153 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-22 09:45:34 +00:00
ben
b1b0d86c7e moved mpeg_packetizer helpers to libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19146 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-19 22:13:50 +00:00
uau
eb05b22b01 Fix use of uninitialized variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19129 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-17 22:22:34 +00:00
reynaldo
15e8c12de2 marks several strings inside structs as const when they hold just
read-only information and modifies GetLanguage in Gui/mplayer/gtk/menu.c 
to cope which the changes.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19115 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 01:40:24 +00:00
reynaldo
d427579f79 marks several read-only string parameters and function return-values which can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19113 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 01:20:30 +00:00
reynaldo
58ed2c3fe0 marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19109 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-15 16:03:12 +00:00
rtogni
ee0a29934a Assume that missing streamcount means one stream, and missing mimetype
is audio. This seems to be used for some audio-only streams.

Fixes rtsp://ms.espectador.com/audio/app_metafiles/dol0606282.rm


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19098 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 23:06:58 +00:00
nicodvb
bc18a3ceed raise default tuning timeout to 30 seconds in order to give enough time to less sensitive cards; better tuners won't tune slower
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19096 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 23:05:08 +00:00
nicodvb
637c591d7e cosmetical reformatting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19095 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 22:43:50 +00:00
nicodvb
4182c79ba4 simplification in dvb_step_channel
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19094 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 22:37:54 +00:00
nicodvb
3a07b942ee force demuxer type to mpegts to speed up detection and avoid useless and slow probes; this doesn't prevent to use stream_dvb with demux_lavf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19093 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 22:29:37 +00:00
nicodvb
33dd581c58 removed obsolete file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19092 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 22:07:17 +00:00
nicodvb
c6ca88ad90 moved LOF macros from dvb_defaults.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19091 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 22:07:05 +00:00
nicodvb
95c4abd422 removed never used macros; patch by zzam gentoo org (Matthias Schwarzott)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19089 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 21:54:24 +00:00
diego
f89a7da604 Remove support for obsolete and non-free divx4/odivx libraries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19087 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 17:14:16 +00:00
diego
49e27d5849 printf --> mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19080 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 07:40:36 +00:00
reynaldo
a814f0ebcd removes unused parentheses lefted behind in the r19075 sizeof(char) cleanups, noticed by dalias
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19079 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 06:26:31 +00:00
diego
b5de6c39e6 Remove #if LIBAVCODEC_BUILD >= XXX and #if LIBAVFORMAT_BUILD >= XXX jungle.
It served no apparent purpose anymore.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19078 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 23:02:03 +00:00
reynaldo
26f0e5e4a1 more sizeof(char) fun
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19075 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 22:11:47 +00:00
reynaldo
32492483c0 drops casts from void * on malloc/calloc from libmpdemux code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19067 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 16:41:13 +00:00
reynaldo
1a16cbfec3 marks several string parameters as const, as they are not modified inside the function, Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19058 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 05:03:43 +00:00
diego
742e7da887 Remove non-existing CSS_INC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19055 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 23:51:41 +00:00
diego
f7d4dd174b OPTFLAGS already includes EXTRA_INC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 17:58:07 +00:00
ben
60aa2f1a39 added new pvr:// input for ivtv based cards
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19002 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-10 21:32:19 +00:00
rfelker
22bbf3a01b more c++ decl crap
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18990 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-10 02:53:06 +00:00
rfelker
79bacf325c more c++ decl crap
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18989 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-10 02:51:52 +00:00
diego
a356cbcc01 Remove unused variables, patch by Stefan Huehner stefan at huehner org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18963 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-08 17:28:36 +00:00
rtogni
6c3d242fd5 Revert r18878, always sync rm files using only pts (ignore framerate)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18947 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-08 12:33:12 +00:00
rtogni
e82bce14ce Remove unused prototype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18945 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-08 12:01:38 +00:00
eugeni
e15ae9a600 Initial libass release (without mencoder support).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18942 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-07 18:26:51 +00:00
eugeni
512eb68dc1 Rename mkv_sh_sub_t to sh_sub_t, move it to demuxer.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18939 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-07 18:02:49 +00:00
reimar
360c4b3e90 lavf demuxer works better for gxf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18936 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-07 11:55:39 +00:00
reimar
310a0bc819 Fix for case when both V4L and V4L2 are enabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18929 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 20:49:23 +00:00
diego
7844cbc3ce Move conditional compilation into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18927 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 13:09:45 +00:00
diego
20770e8a7d cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18926 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 13:06:21 +00:00
uau
e2727ec797 Add a new video pts tracking mode, enabled by option -correct-pts.
This mode has the following differences:
- Video timing is correct for streams with B frames, at least with some
  demuxers.
- Video filters can modify frame timestamps and insert new frames, and
  removing frames is handled better than before.
- Some things are known to break, it's not usable as the default yet.

Things should work as before when the -correct-pts option is not used.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18922 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 06:58:17 +00:00
reimar
58237ff084 move some ill-behaving demuxers further down the list
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18905 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-04 21:26:41 +00:00
nicodvb
6eb0027e5a respect dvdnav's requests of WAIT to prevent while(1)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18903 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-04 21:12:12 +00:00
reynaldo
132173bbf0 get_path as const, patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 23:27:37 +00:00
reynaldo
8f65768bf2 rm unnecesary casts from void* - part 4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18890 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 13:21:54 +00:00
reynaldo
3afd65b3af rm unnecesary casts from void* - part 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 08:17:07 +00:00
ben
b59ec31daa missing free() if bails out at step 12
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18881 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-01 15:07:57 +00:00
ben
147aa0219a new rtsp-destination option which allows forcing destination ip address (fixes some issues with some reluctant rtsp servers)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18879 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-01 14:18:06 +00:00
rtogni
381682bc97 Fix A-V sync for real files (also live streams)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18878 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-01 12:06:43 +00:00
diego
4c6026a21b Add some explanatory comments to #endif jungle.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18872 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 13:12:51 +00:00
diego
2b34538ead 10l: wrong #endif removed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18871 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 13:11:44 +00:00
diego
bec4465db6 Remove #ifdef HAVE_DVD, the file is only compiled under #ifdef HAVE_DVD ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18870 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 13:04:57 +00:00
ben
e0a094555d coverity report #179 from xine: variable "rest" not freed or pointed-to in function "rtsp_put" (see http://xine.cvs.sourceforge.net/xine/xine-lib/src/input/librtsp/rtsp.c?r1=1.19&r2=1.20)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18859 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-29 22:00:01 +00:00
ben
6ab349aa68 cosmetic patch to remove useless sizeof(char) statements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18858 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-29 21:53:35 +00:00
ben
46dc121052 increase buffer size, "CSeq: %u" has a worst case of 17 (fix 1.18 from xine, see http://xine.cvs.sourceforge.net/xine/xine-lib/src/input/librtsp/rtsp.c?r1=1.17&r2=1.18)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18857 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-29 21:50:49 +00:00
ben
c223351501 be more tolerant on server responses parameters case (fix 1.17 from xine, see http://xine.cvs.sourceforge.net/xine/xine-lib/src/input/librtsp/rtsp.c?r1=1.16&r2=1.17)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18856 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-29 21:46:51 +00:00
ben
44e7b2fced 2 more unused functions removal (trying to sync with xine)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18855 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-29 21:27:07 +00:00
ben
dc608be232 removed unused hexdump()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18854 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-29 21:20:01 +00:00
ben
d7d7500003 fix compilation under mingw (thanks to tempn AT twmi DOT rr DOT com for report and pacman for fix)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18853 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-29 17:07:57 +00:00
pacman
5576e93b0f Remove bogus stream_eof() test - av_read_frame() has its own buffer and can
still return usable data after the underlying stream_t has EOF'ed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18847 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-28 19:27:04 +00:00
ben
9a82c741ac includes before checking for defines (thanks Reimar for watching me)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18841 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-27 21:39:48 +00:00
ben
62a3993cc8 network code portability for win32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18840 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-27 19:18:52 +00:00
ben
808992064d avoid messing up with includes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18839 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-27 19:16:43 +00:00
ben
3b2c495798 don't declare same global var twice (break live555 compilation)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18836 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-26 22:00:44 +00:00
ben
054b52cb01 added new native rtsp demuxer code for mpeg-ts over rtp (now both real and non-real servers should be handled)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18833 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-26 21:27:57 +00:00
ben
155f9d742f new imported library in libmpdemux: freesdp (will be used by native rtsp demuxer)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18827 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-26 17:37:55 +00:00
ben
b31df04b82 cosmetic changes to avoid constants redefinition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18826 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-26 17:27:38 +00:00
reimar
ee00cceb8b Forgotten free on error
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18813 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 14:02:28 +00:00
nicodvb
64fb0e7cd3 exit() is not allowed in any other function than main(); removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18808 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-24 09:41:41 +00:00
nicodvb
c3fafa8324 fprintf -> ms_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18807 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-24 09:30:23 +00:00
nicodvb
0d0ed504d8 static-ized a couple of functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18806 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-24 09:27:07 +00:00
nicodvb
8f18af19d9 rtp reordering of packets; patch by Ernitron (ernitron@fastwebnet.it)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18805 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-24 09:10:06 +00:00
ben
7473a37fcc prevent a buffer overflow to occur at teardown
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18804 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-23 22:23:07 +00:00
ben
4bb2bf6ec5 moved generic rtsp related files from realrtsp to librtsp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18802 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-23 21:38:28 +00:00
ben
7afb388858 remove some never called code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18801 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-23 20:32:32 +00:00
ben
6d9101a25c prevent most RTSP streams from locking due to -idx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18800 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-23 20:28:12 +00:00
ben
3befb06756 removed some includes that are now useless
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18798 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-23 20:18:48 +00:00
ben
8203e47d0c new RTSP demuxer dedicated file, based on old code from realrtsp one but intended to be much more generic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18797 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-23 20:17:12 +00:00
ben
e1437c6af8 some printf() to mp_msg() replacements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18796 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-23 19:34:06 +00:00
ben
67d4bff07e move real_rtsp init/uninit code to its dedicated place to simplify a bit rtsp session demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18795 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-23 19:30:15 +00:00
diego
57f3213401 CVS --> Subversion in copyright notices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 13:34:00 +00:00
nicodvb
4e5235e91f support for -alang
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18778 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 19:24:17 +00:00
ben
dd6c38075d cosmetic changes (defines will be used later in other parts of the code)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18777 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 17:50:50 +00:00
ben
dbd687fd37 better RTSP RFC compliance (fixes in CSeq and TEARDOWN handling)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18775 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 17:39:27 +00:00
nicodvb
e9f0940c47 support for audio stream switching
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18765 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-20 19:57:16 +00:00
aurel
95db10787d fix a buffer overflow causing a segfault
(original patch by Vladimir Voroshilov < voroshil _at_ univer.omsk.su >)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18764 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-20 11:48:39 +00:00
nicodvb
ffd83d3e2a Remove misleading Encrypted VOB message; patch by Ismail Donmez (ismail ab pardus punctum org puntum tr)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18761 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-19 21:43:02 +00:00
nicodvb
daaf965438 feed any audio track present in the mux; switch to any of the available audio tracks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18757 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-19 18:34:29 +00:00
nicodvb
01526d08f8 try to reduce the distance between consecutive frames with pts to no more than 0.4 seconds (required by dvds)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18754 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-18 16:40:29 +00:00
nicodvb
d79d8b2ea4 prevent buffer overflow in the STD; simplified fill_packet() (moving part of the code to get_packet_stats())
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18748 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-18 10:39:09 +00:00
reimar
e261eefda0 Fix crash with all audio-only ogg files, the vorbis_info struct is not
stored in the sh_audio context but in the demuxer priv element


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18740 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-17 15:01:43 +00:00
nicodvb
8e500b6d30 removed old dvdnav code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18735 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-16 19:06:00 +00:00
nicodvb
d4b348d3ef reduced standard verbosity and changed output messages to more uniform descriptions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18717 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-14 22:22:34 +00:00
nicodvb
b74779d89a workaround: at every read update demux->movi_end with stream->end_pos; needed to show the progress bar when playing dvdnav streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18716 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-14 22:12:06 +00:00
nicodvb
f1871d5766 restored support for dvdnav only in the stream layer; all other functionalities are disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18715 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-14 21:58:17 +00:00
uau
6723323303 Clean up audio pts handling, make audio pts tracking in the audio-only
case work the same as with video.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18713 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-14 19:48:54 +00:00
uau
7022f65d0c Change free_sh_audio() to take demuxer and stream id as parameters
(same as new_sh_audio()) instead of sh_audio_t *, use those to remove
the pointer from demuxer->a_streams[] before freeing it.

Some demuxers use free_sh_audio() to undo the creation of an
already-allocated audio stream in case of error. These uses were unsafe
since free_sh_audio() freed the data structure but left the pointer in
demuxer->a_streams[], leading to double free later in free_demuxer()
(and perhaps use of the freed stream before that, I didn't check).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18711 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-14 14:05:59 +00:00
uau
a4850512c0 Remove extern declaration for free_sh_audio() that is both unused and
already present from stheader.h. (Would cause a compile error after my
next change.)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18710 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-14 13:47:11 +00:00
nicodvb
be03496d6b support for audio stream switching
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18691 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-12 23:06:21 +00:00
nicodvb
2831b49bb5 include stream_dvd's interface from libmpdemux/stream_dvd.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18685 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-11 21:29:00 +00:00
nicodvb
689316c4d6 moved stream_dvd's interface to stream_dvd.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18684 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-11 21:26:35 +00:00
nicodvb
3253df6f12 now any audio stream can be chosen during DEMUXER_CTRL_SWITCH_AUDIO, irrispective of the codec used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18683 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-11 21:18:25 +00:00
rtogni
b6fb797e3c Protect SIZE_MAX use
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18672 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-09 23:19:13 +00:00
pacman
2f30f958b0 Fix declaration mixed in among statements in the recent dvr-ms code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18671 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-09 22:33:09 +00:00
nicodvb
7535dc582a moved store_ughvlc() before #ifdef HAVE_OGGVORBIS, so it can be used by other demuxers when libogg and/or libvorbis are missing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18670 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-09 21:43:23 +00:00
nicodvb
d96e0e658a support for vorbis in mp4/mov
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18668 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-09 21:30:06 +00:00
nicodvb
1fe2e1963e decoderConfigLen can be larger than 255 bytes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18667 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-09 21:29:18 +00:00
nicodvb
068fffa36a first vorbis packet before vorbis_synthesis_headeri() must have b_o_s==1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18638 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 22:40:40 +00:00
pacman
2a8494d031 Patch from John Donaghy: "fix for audio and video in dvr-ms asf files"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18610 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-06 23:34:21 +00:00
corey
cf063c0e6f Fix a few minor spelling errors in comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18590 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 22:23:42 +00:00
rtogni
6f416d77ea Disable unsecure dumping of generic track with -v -v -v
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18584 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 19:00:23 +00:00
nicodvb
4b73c3e3a4 support for dts (identified only by the PMT, not from the bitstream)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18566 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-04 23:23:58 +00:00
nicodvb
38df528583 fixed wrong assignment of stream type in generic PES_PRIVATE1 streams (didn't respect the type qualified in the PMT)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18565 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-04 23:16:09 +00:00
nicodvb
b938bd87d4 one more a52 descriptor (dvb impl., untested)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18564 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-04 23:11:40 +00:00
nicodvb
5bc7c25897 configurable tuning timeout
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18562 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-04 23:04:42 +00:00
rtogni
9da9317579 Fix potential integer overflows in memory allocation.
Patch by Rich and me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18559 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-04 22:41:27 +00:00
diego
4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
michael
4729952a40 metadata support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18555 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-30 23:23:28 +00:00
nicodvb
fab6247393 psm longer than 1018 bytes is not allowed, thus invalid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18550 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-18 18:05:10 +00:00
rathann
82bcbf62af Fix:
frequencies.c:1168: warning: initialization discards qualifiers from pointer target type
dvbin.c:843: warning: assignment from incompatible pointer type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18514 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-14 22:06:17 +00:00
gpoirier
4d3cfebbc3 fix parsing of vobsub private data, patch by Evgeniy Stepanov <eugeni P stepanov A gmail P com>
Original thread:
Date: May 14, 2006 12:28 AM
Subject: [MPlayer-dev-eng] [BUG][PATCH] parsing of vobsub private data in mkv probably broken


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18508 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-14 16:18:41 +00:00
rtognimp
cdb97ab7e0 Fix some potential integer overflow in memory allocation (mot of these
were probably safe or disabled anyway)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18506 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-14 15:51:05 +00:00
rathann
9ebd30010f missing argument for mp_msg, fixes:
demux_mov.c:1159: warning: too few arguments for format


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18492 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 21:12:43 +00:00
nicodvb
2f1b01e307 where necesary, replaced all realloc() with realloc_struct() to prevent int oveflows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18476 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 10:49:46 +00:00
nicodvb
a36608cd9a when searching ac3 in unqualified pes_private1 streams there's no need to scan > 64 KB of data: frames can't be so far apart
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18475 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 10:09:33 +00:00
nicodvb
f9ef285056 prevent memleak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18473 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 09:08:28 +00:00
nicodvb
72d7809458 unconditionally stop allocating memory for dvb_channel_t after 1 MB: it's unreasonably big
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18472 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 09:01:18 +00:00
rfelker
2539dc0417 accidentally committed this overflow fix with the declaration fix before.
messed up indention corrected at oded's request. :)
10^100l to me too..


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18469 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 06:12:25 +00:00
rfelker
7d44793978 posix compliance, dont use ancient legacy name
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18467 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 05:51:35 +00:00
rfelker
e70c326727 10^100l c++ declarations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18466 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 05:48:16 +00:00
nicodvb
daa31ef05c allocate correct extradata size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18465 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-12 22:33:42 +00:00
nicodvb
e631410ee7 raised max extradata size and refuse to store more than the limit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18463 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-12 22:21:29 +00:00
nicodvb
e32c4c5712 don't allocate (and demux_push() immediately) demux_packet()s > MAX_PACK_SIZE; releasing immediately audio packets (before the pes is complete) doesn't make any sense and deteriorates interleaving
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18462 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-12 21:34:06 +00:00
nicodvb
dd9d768293 search ac3 in dvd substream only if pes_aligned flag is set in the pes headers, otherwise false positives are likely to occur
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18461 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-12 20:26:05 +00:00
rtognimp
5e86603495 Fix potential integer overflows in memory allocation. Patch by Reimar and me, SIZE_MAX by Rich
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18445 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-11 18:50:46 +00:00
nicodvb
5d2679c504 unbind demux_ogg from ad_libvorbis; this permits to use -ac ffvorbis without crashes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18431 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-10 22:54:24 +00:00
nicodvb
7c516063da moved code to set aspect ratio for mpeg12 away from video.c and into decoder files; A/R changes work correctly with -vc mpeg12
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18429 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-10 22:03:18 +00:00
diego
bc30e8e673 Unconditionally compile the Matroska demuxer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18405 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-08 21:41:15 +00:00
nicodvb
56286b38d4 COSMETICS: moved code to parse mpeg1/2 A/R to mpeg_hdr.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18399 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-07 16:05:38 +00:00
diego
c3ec96fb71 support for vfps OGM files
patch by Elphel Inc. (blessed by Roberto)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18395 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-06 07:31:49 +00:00
pacman
a2783c69ba Fix calculation of stream sizes when they are too big for a 32-bit variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18394 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-06 06:23:23 +00:00
nicodvb
78577530ca fixed %d->PRIu64 in read_mpeg_timestamp()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18383 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-03 18:18:25 +00:00
nicodvb
8622d18bde stream_read_word() returns _unsigned_ int
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18382 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-03 18:12:38 +00:00
nicodvb
c5777d7f53 in read_mpeg_timestamp() cast int expression to uint64_t before shifting to avoid truncation of bits and to prevent propagation of bit 1 as sign bit in pts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18381 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-03 17:55:02 +00:00
rfelker
5878ff9f5a 100000l to the fools who don't know C
These were all found while auditing for malloc(A*B) type bugs.
Removing them makes it easier to find real incorrect usage and makes
the code more readable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-01 02:04:09 +00:00
uau
c843190441 Change common pts variables from floats to doubles. Individual demuxers
should be changed later.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18310 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-27 11:13:21 +00:00
diego
154fff61c9 Increase HEADER_SEARCH_SIZE, fixes high-bitrate streams from demoscene.tv.
noticed by Soeren Sonnenburg, mplayer-ml -- at -- nn7 -- dot -- de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18252 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 15:12:06 +00:00
nicodvb
2bea0ef1dd removed more unused stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18250 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 14:23:03 +00:00
nicodvb
ac1506c8b3 when muxing mpeg audio streams analyze the first 32 KB of data to obtain the most likely correct layer, otherwise every misdetection during parse_audio() will lead to wrong timestamps and loss of synchrony
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18249 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 14:04:10 +00:00
rtognimp
6c4d9bfe51 4 - Implement a better way to calculate current audio pts and use it for
audio decoded with ad_libvorbis, ad_ffmpeg and ad_faad.

Patch by Uoti Urpala


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18243 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 10:58:40 +00:00
rtognimp
4b45ec30e4 3 - Move a definition of MP_NOPTS_VALUE from muxer.h to demuxer.h to
make it available in more files (needed for next patch).

Patch by Uoti Urpala


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18242 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 10:36:29 +00:00
nicodvb
538ae3dd8c simplified parse_audio()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18239 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 09:48:57 +00:00
reynaldo
3a406e94d7 Get ride of the several if(identify) messy lines and rearangment of some of the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 07:20:34 +00:00
mosu
558f53de4b Do not give bogus timestamps for laced packets with no default duration. Patch by Uoti Urpala ( uoti ! urpala () pp1 ! inet ! fi ).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18237 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 06:28:45 +00:00
gpoirier
152d7ed02c resource leak fix.
detected by
Covertity's checker:
CID: 154
Checker: RESOURCE_LEAK
Description: Returned without freeing storage "cddb_info"


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18226 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-23 15:14:03 +00:00
diego
469c91859a Rename some forgotten #ifdef STREAMING_LIVE_DOT_COM to STREAMING_LIVE555.
patch by Lyakhovets Andrey, lyakhovets <<@>> rovercomputers <<.>> ru


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18220 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-23 12:29:10 +00:00
rtognimp
c96851a3f0 Partially revert 1.140, restoring the old behaviour for all codecs
except for twos and sowt.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18219 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-23 11:38:06 +00:00
nicodvb
e48466f86c removed more unused code and struct members
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18201 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 18:15:23 +00:00
nicodvb
d78862db6a removed unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18200 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 18:02:19 +00:00
nicodvb
bf75c942fc moved inline at beginning of declaration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18198 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 17:55:39 +00:00
nicodvb
1733f0847a finally replaced the old interleaving with the new one that respects buffering and [pd]ts<->scr constraints; don't check spriv->framebuf_used in find_best_stream()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18197 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 17:47:53 +00:00
nicodvb
168e6e1daf introduced new functions to handle pack writing and interleaving strategy (will soon replace current ones)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18193 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 15:41:16 +00:00
nicodvb
37dae9ebcb fixed muxrates for xvcd and xsvcd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18188 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 13:31:05 +00:00
nicodvb
6ba9d6ce20 audio init code was previously moved to fix_parameters() so removed from write_chunk()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18187 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 13:25:46 +00:00
nicodvb
2c06ca54a2 introduced structures and code to keep track of decoder's buffers sizes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18184 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 13:18:32 +00:00
nicodvb
f86a32a270 new code to simplify assignment of timestamps; removed temp_ref from mpeg_frame_t and modified add_frame() accordingly; removed no more used drop_delayed_audio() and save_delayed_audio()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18182 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 13:05:01 +00:00
reynaldo
c03b175452 Part3 of Otvos Attila's oattila AT chello-hu mp_msg changes, with lots of modifications as usual
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18177 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 05:12:10 +00:00
albeu
4d418c336f Implement getting colors. The mapping between MPlayer's gamma range
(-100/100) and v4l's range (0-65535) had to be changed a bit to avoid
rounding errors.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18174 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-21 12:47:37 +00:00
albeu
f865d5a17e Implement tv_get_color_options() and make tv_set_color_options() return
mainfull values.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18173 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-21 12:45:18 +00:00