Wykres commitów

16 Commity (master)

Autor SHA1 Wiadomość Data
John Cox d23171865f Squash "set but not used" warnings 2015-10-29 18:39:32 +00:00
John Cox b3a3933e81 Build a new pacing method for tsplay
New pacing method built for tsplay and made the default.  The new method
lacks some bells and whistles that the old method had but spits out packets
closer to the correct time than the old method.  Old method is still
availible if needed: -pace-pcr1 should engage it.
2013-04-10 18:30:39 +01:00
tibs f21f9b270a Pull the innards of tsplay.c out into a separate (library) file, for later convenience
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40146
2009-08-06 14:14:28 +00:00
tibs 32fec829b2 Amendments suggested by alexw, to whom thanks:
1. Fix some print_msg to be print_err
2. Rename the function to make error messages go to stderr to
   redirect_output_stderr, which is more sensible.
3. Make the -stdout switch always force error messages to stderr
4. Add the "-err" switch to all programs, which allows the user
   to choose whether they prefer errors to go to stdout or stderr

That last is something I meant to do as part of the stdout/stderr
changes - thanks again to alexw for causing me to get round to it.

This now allows:

  cat data/ed24p_11.ts | ts2ps -stdin -stdout | ps2ts -stdin -stdout | mplayer -

to work -- it didn't before.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40145
2009-06-16 20:27:25 +00:00
tibs 1ac499a74f Some more IO edits
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40141
2009-05-04 11:02:05 +00:00
tibs 0789bd1fa2 Another set of IO edits
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40140
2009-05-03 20:08:52 +00:00
tibs 6b4c838ad8 Change the name of the switch to be more helpful, update the help
to explain why, now I've looked back at the ts.c code and seen what
it actually does.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40135
2009-02-26 13:04:20 +00:00
tibs 34f5b71d6d Attempt to allow forcing of what PCR PID to use, in tsplay playing TS.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40134
2009-02-26 12:48:15 +00:00
tibs 6116215b50 Improve the tsplay help for "-help ps" to explain what the PID values
are actually used for, and why (before it was definitely confusing).

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40133
2009-02-26 12:02:34 +00:00
tibs 6dae7d9049 Experimental: this make the TS PCR read-ahead buffer per-file (well, strictly,
per-tsreader), rather than static as it was before. This is a tentative commit,
subject to further testing, although the Python code's doctests appear to
indicate that it is probably working.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40114
2009-02-14 17:31:50 +00:00
jc44 307d5475ae Added program number checking to PMT selection in case there are multiple PMTs on the same PID (or indeed other garbage)
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4099
2008-11-25 13:47:39 +00:00
tibs fa6d7c2a53 Add (missing) CHECKARG calls in various places (this addresses bug 14781).
Do some other minor tidying up at the same time.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4095
2008-11-11 20:28:20 +00:00
tibs 3ab74526ff Bug 14602: move to using <stdint.h> types for integers.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4069
2008-10-18 15:04:34 +00:00
tibs 179171dcfc Add alias -i to the -mcastif switch, because the latter really is
a pain to type, and I got lazy.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4044
2008-08-27 12:57:17 +00:00
tibs 4ce892d04c All C and H files annotated to tell Vim or [X]Emacs to use 2-space indentation
and not to use tabs within indentation.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4012
2008-06-14 16:05:00 +00:00
tibs 70e9b431a7 Initial import to berlios.de
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%401
2008-04-14 04:09:29 +00:00