Mercurial > mplayer.hg
annotate libmenu/Makefile @ 24589:9118be6575da
demux_audio.c: Fix timestamp handling
The code calculated the pts values of audio packets by adding the length
of the current packet to the pts of the previous one. The length of the
previous packet should be added instead. This broke WAV timestamps near
the end of the stream where a short packet occurs.
Change the code to store the pts of the next packet instead of the last
one. This fixes the WAV timestamps and allows some simplifications.
MP3 timestamps are not affected as packets are always treated as
constant decoded length, and FLAC timestamps still have worse problems
(FLAC is treated as as if it was constant bitrate even though it isn't).
Also store the timestamps as double instead of float.
author | uau |
---|---|
date | Mon, 24 Sep 2007 21:49:56 +0000 |
parents | 090ec2169aee |
children | fec8936c8079 |
rev | line source |
---|---|
8197 | 1 include ../config.mak |
2 | |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
21309
diff
changeset
|
3 LIBNAME_MPLAYER = libmenu.a |
8197 | 4 |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
21309
diff
changeset
|
5 SRCS_MPLAYER = menu.c \ |
22531
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
6 vf_menu.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
7 menu_cmdlist.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
8 menu_pt.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
9 menu_list.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
10 menu_filesel.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
11 menu_txt.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
12 menu_console.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
13 menu_param.c \ |
17943
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
14 |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
21309
diff
changeset
|
15 SRCS_MPLAYER-$(DVBIN) += menu_dvbin.c |
8197 | 16 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21206
diff
changeset
|
17 include ../mpcommon.mak |