Commit Graph

2246 Commits

Author SHA1 Message Date
rtogni 25b5b62319 Allows up to 8 bytes of extradata for cmsg24
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20150 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-10 22:15:01 +00:00
rtogni d64ad3f125 Fix extradata lenght when adding cmsg24 data
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20149 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-10 21:37:06 +00:00
rtogni c1fff74704 Cleanup: remove some old commented out skips
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20148 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-10 21:29:15 +00:00
reimar 030b28b3ee Fix misdetection of http://samples.mplayerhq.hu/tta/tivo_misdetect.tta as TiVo file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20147 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-10 19:21:33 +00:00
reimar 6a4cc21801 Simplify (by using realloc with NULL parameter) and refactor code to grow
array in 32-increments


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20146 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-10 15:01:11 +00:00
rtogni af56e2e82e Fix problems on live streams with huge timestamps, causing overflows and
negative pts values. It also changes pts to double, since there is no 
enough precision in float to represent 32bit uint timestamps.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20145 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-09 20:00:02 +00:00
reimar bdc8d80e9b Free track->language before assigning new value
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20143 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-09 19:10:36 +00:00
reimar 5240b8bf98 Missing (in close function)/misplaced free for track structure itself.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20142 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-09 18:56:16 +00:00
reimar ccff4a6164 Free track data if error occurs while reading trackentry
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20141 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-09 18:48:55 +00:00
reimar 89ca5fd9b7 Free track encodings on error or demuxer close
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20139 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-09 18:28:58 +00:00
reimar 37f549101b replace malloc+memset by calloc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20136 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-09 18:00:54 +00:00
reimar 3b81347247 Remove cast of realloc result missed in last patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20135 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-09 17:48:43 +00:00
reimar 4f58754e78 Remove unneeded casts for malloc/realloc calls
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20134 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-09 17:41:37 +00:00
rathann 19f74e95b5 Fixes
mpeg_packetizer.c:145: warning: no return statement in function returning non-void

Approved by Nico.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20122 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-08 22:43:29 +00:00
reimar 611f88ab5b WavPack files contain a complete, valid RIFF tag, so use extension (.wv)
to give libavformat a chance before our audio demuxer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20109 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-08 12:19:08 +00:00
reimar fa92a6aad5 Simplify: replace malloc + memset 0 by calloc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20078 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-05 21:31:21 +00:00
reimar 11e7ea9df4 Fix demux_demuxers seeking if the video demuxer does not set
demuxer->video->pts (e.g. lavf).
Previous code would start audio from beginning.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20077 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-05 21:28:55 +00:00
reimar 9b128fa2e4 Implement absolute and percent-based seek
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20076 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-05 21:25:22 +00:00
nicodvb c5cbf5efe6 Reset demuxer->sub (consistently with audio and video) after seeking and at the end
of demux_mpg_open() to prevent ghost packets. Patch by Olaf Mandel - olaf mandel name.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20011 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-01 09:33:23 +00:00
eugeni f7e89b57fa Add matroska v2 (SimpleBlock) support.
Patch by Federico Menarini (federico d menarini a gmail d com).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19983 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-25 21:17:43 +00:00
nicodvb bd40e0ea1d interpolate real fps of dvr-ms files using the extended stream properties.
Patch by John Donaghy - johnfdonaghy gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19967 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-24 15:19:48 +00:00
reimar 8e6272e832 Make fill_buffer function check for stream eof, fixes hang at eof (bug #580)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19966 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-24 14:26:31 +00:00
ods15 b45efb0eeb simplifications, any error from libnut is fatal
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19964 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 21:05:28 +00:00
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