<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/mpgtx/patches/" rel="alternate"/><link href="https://sourceforge.net/p/mpgtx/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/mpgtx/patches/</id><updated>2006-03-30T14:11:57Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>RPM .spec  for mpgtx 1.3</title><link href="https://sourceforge.net/p/mpgtx/patches/11/" rel="alternate"/><published>2006-03-30T14:11:57Z</published><updated>2006-03-30T14:11:57Z</updated><author><name>Andrew Ziem</name><uri>https://sourceforge.net/u/andrewziem/</uri></author><id>https://sourceforge.neta4f8216e9502c19e41171977a2c9c69a03c6b5b9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;RPM .spec  for mpgtx 1.3 which works on Fedora Core 4&lt;br /&gt;
with GCC 4.0.  The sed stuff fixes some build problems.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>infinite loop when demuxing a truncated file</title><link href="https://sourceforge.net/p/mpgtx/patches/10/" rel="alternate"/><published>2005-03-24T16:55:17Z</published><updated>2005-03-24T16:55:17Z</updated><author><name>Stephen Beahm</name><uri>https://sourceforge.net/u/sbeahm/</uri></author><id>https://sourceforge.net726c63e36e896b4f27a63c3098cf9c25eedf35ef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When demuxing a file that has been truncated, mpgtx&lt;br /&gt;
goes into an infinite loop. This is a quick way to fill&lt;br /&gt;
up a hard drive ;)&lt;/p&gt;
&lt;p&gt;This patch tests for an end-of-file condition, issues a&lt;br /&gt;
warning and breaks from the loop.&lt;/p&gt;
&lt;p&gt;I chose to write the partial chunk before breaking from&lt;br /&gt;
the loop.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MPEG audio bugfix</title><link href="https://sourceforge.net/p/mpgtx/patches/9/" rel="alternate"/><published>2005-03-11T00:50:00Z</published><updated>2005-03-11T00:50:00Z</updated><author><name>Matthew Lieder</name><uri>https://sourceforge.net/u/igx89/</uri></author><id>https://sourceforge.netdd6947934b4719d3111a6caa960fbe96cf353c3c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When using mpgtx on MPEG-2 videos created by &lt;br /&gt;
SnapStream BeyondTV3's software encoder, the &lt;br /&gt;
resulting videos often have problems with the audio &lt;br /&gt;
being out of pitch. I discovered that the problem was &lt;br /&gt;
partly because of two audio packets being between the &lt;br /&gt;
system header and the first video packet; copying those &lt;br /&gt;
two audio packets to the edited video fixed the &lt;br /&gt;
problems. Attached is a patch file containing that &lt;br /&gt;
copying code.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MPEG video metadata copying</title><link href="https://sourceforge.net/p/mpgtx/patches/8/" rel="alternate"/><published>2005-03-11T00:45:35Z</published><updated>2005-03-11T00:45:35Z</updated><author><name>Matthew Lieder</name><uri>https://sourceforge.net/u/igx89/</uri></author><id>https://sourceforge.netdf504b8258b70713ed763b92d58f0b32ac10d4bc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;SnapStream BeyondTV3 (not sure about any other &lt;br /&gt;
programs) stores metadata in MPEG-2 videos, inside a &lt;br /&gt;
Private Stream 2 (0xBF) packet. The attached patch file &lt;br /&gt;
contains changes that allow mpgtx to copy that &lt;br /&gt;
metadata to the edited video it outputs.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CVS: mpgtx can write the ouput</title><link href="https://sourceforge.net/p/mpgtx/patches/7/" rel="alternate"/><published>2005-01-31T10:32:30Z</published><updated>2005-01-31T10:32:30Z</updated><author><name>Evan Meakyl</name><uri>https://sourceforge.net/u/emeakyl/</uri></author><id>https://sourceforge.net1813cb5b324cd5574126372a5c1ccd6af894ce27</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;With the cvs source from 2005/31/1 at 11am, mpgtx can't&lt;br /&gt;
write its outputs when creating an mpg file... Here is&lt;br /&gt;
the fix (some tests were doing the opposite of what&lt;br /&gt;
they were supposed to do):&lt;/p&gt;
&lt;h1 id="index-mpegoutcxx"&gt;Index: mpegOut.cxx&lt;/h1&gt;
&lt;p&gt;RCS file: /cvsroot/mpgtx/mpgtx/mpegOut.cxx,v&lt;br /&gt;
retrieving revision 1.30&lt;br /&gt;
diff -r1.30 mpegOut.cxx&lt;br /&gt;
409c409&lt;br /&gt;
&amp;lt;        if ( fwrite(&amp;amp;high, 1, 1, MpegOut) ) {&lt;br /&gt;
---&lt;br /&gt;
&amp;gt;        if ( fwrite(&amp;amp;high, 1, 1, MpegOut)!=1 ) {&lt;br /&gt;
413c413&lt;br /&gt;
&amp;lt;        if ( fwrite(&amp;amp;low, 1, 1, MpegOut) ) {&lt;br /&gt;
---&lt;br /&gt;
&amp;gt;        if ( fwrite(&amp;amp;low, 1, 1, MpegOut)!=1 ) {&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Bugfixes</title><link href="https://sourceforge.net/p/mpgtx/patches/6/" rel="alternate"/><published>2005-01-22T00:11:43Z</published><updated>2005-01-22T00:11:43Z</updated><author><name>Matthew Lieder</name><uri>https://sourceforge.net/u/igx89/</uri></author><id>https://sourceforge.netbc13ccf1afbd95d65a8dcb04a874ab46ee67590e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch enables mpgtx to handle weird system &lt;br /&gt;
headers (specifically the headers of WinTV PVR-&lt;br /&gt;
250/350/etc... MPEG-2 recordings), fixes some bugs &lt;br /&gt;
which caused the duration of MPEG-2 files to be &lt;br /&gt;
reported incorrectly, and fixes some bugs with properly &lt;br /&gt;
reading and writing timestamps from GOP's.&lt;/p&gt;
&lt;p&gt;A couple fixes might be considered hacks, but so far my &lt;br /&gt;
changes have worked properly on every MPEG-1/MPEG-2 &lt;br /&gt;
file I've tested. Please let me know if you encounter any &lt;br /&gt;
new problems because of these changes.&lt;/p&gt;
&lt;p&gt;I've also only tested these changes on Windows, in &lt;br /&gt;
conjunction with my Win32 patch. Linux testers would &lt;br /&gt;
be appreciated.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OS/2 executable not built out of the box</title><link href="https://sourceforge.net/p/mpgtx/patches/5/" rel="alternate"/><published>2005-01-19T05:10:49Z</published><updated>2005-01-19T05:10:49Z</updated><author><name>Dave Yeo</name><uri>https://sourceforge.net/u/dryeo/</uri></author><id>https://sourceforge.net5d3c056982a62a87ff67d0bc5e7c0a8584105d07</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;On OS/2 we end up with an a.out binary instead of an&lt;br /&gt;
executable. The simplist fix is much the same as the&lt;br /&gt;
cygwin fix. Add this code to configure, perhaps under&lt;br /&gt;
the test for cygwin&lt;/p&gt;
&lt;p&gt;# OS/2 support&lt;br /&gt;
if [ "${HOSTNAME}" = "i386-pc-os2-emx" ]; then&lt;br /&gt;
OFLAGS="-Zomf"&lt;br /&gt;
EXEEXT=".exe"&lt;br /&gt;
fi&lt;/p&gt;
&lt;p&gt;The -Zomf is only important for a debug build, causes&lt;br /&gt;
the object files to be in omf format instead of a.out.&lt;br /&gt;
Debugger only supports omf&lt;br /&gt;
Dave&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Win32 patch w/ LFS</title><link href="https://sourceforge.net/p/mpgtx/patches/4/" rel="alternate"/><published>2005-01-13T20:13:33Z</published><updated>2005-01-13T20:13:33Z</updated><author><name>Matthew Lieder</name><uri>https://sourceforge.net/u/igx89/</uri></author><id>https://sourceforge.net1d1b6c8204a067e29c69dc2b0e3692d17fc8983e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;A Win32 port with some changes to add 64bit file i/o.&lt;/p&gt;
&lt;p&gt;Also includes solution and project files for building under &lt;br /&gt;
MSVC++ .NET 2003.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fix for GCC detection in configure</title><link href="https://sourceforge.net/p/mpgtx/patches/3/" rel="alternate"/><published>2002-11-27T17:12:06Z</published><updated>2002-11-27T17:12:06Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.netb96fab53e62dce9515fb17d62bac7a42b4594eee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm attaching a fix to the gcc detection in configure.&lt;br /&gt;
The way it's being done now, is not tolerant to any&lt;br /&gt;
changes in how GCC reports the version. This patch is&lt;br /&gt;
independent of display, it uses &amp;amp;quot;gcc -dumpversion&amp;amp;quot;&lt;br /&gt;
which should work on any gcc &amp;amp;gt;=2. &lt;/p&gt;
&lt;p&gt;My patch basically changes:&lt;br /&gt;
gcc_major=`gcc --version | cut -b 1`&lt;br /&gt;
to&lt;br /&gt;
gcc_major=`gcc -dumpversion | cut -b1`&lt;/p&gt;
&lt;p&gt;and it also fixes the test line which doesn't appear to&lt;br /&gt;
work  (only a single '=' sign is present)&lt;/p&gt;
&lt;p&gt;if test &amp;amp;quot;$gcc_major&amp;amp;quot; ==  &amp;amp;quot;3&amp;amp;quot;; then&lt;br /&gt;
optimization_cflags=&amp;amp;quot;-O2&amp;amp;quot;;&lt;br /&gt;
fi&lt;/p&gt;
&lt;p&gt;is what it should be.&lt;/p&gt;
&lt;p&gt;After this change, mpgtx compiles fine with gcc &amp;amp;gt;= 3&lt;br /&gt;
and gcc 2. &lt;/p&gt;
&lt;p&gt;And yes, this is a patch against mpgtx 1.3 which still&lt;br /&gt;
exhibits the problem. &lt;/p&gt;
&lt;p&gt;This should close the bugs #642694 and #641185&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Set manpage path installation directory</title><link href="https://sourceforge.net/p/mpgtx/patches/2/" rel="alternate"/><published>2002-10-08T18:17:38Z</published><updated>2002-10-08T18:17:38Z</updated><author><name>Eric Sokolowsky</name><uri>https://sourceforge.net/u/esok/</uri></author><id>https://sourceforge.net65cea541b698b11d0fef41aa6f5b34e72c118d55</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I submit this patch to fix the manual page installation&lt;br /&gt;
for the configure script.&lt;/p&gt;
&lt;p&gt;Below is a patch that will correctly install the manual&lt;br /&gt;
pages into the correct directory.  If no --prefix is&lt;br /&gt;
given the manual path defaults to the same as the&lt;br /&gt;
regular installation directory.  If the --prefix option&lt;br /&gt;
is given, then the manual page prefix becomes the new&lt;br /&gt;
installation path prefix.  If the new option&lt;br /&gt;
--manprefix is given, then the manual path will be set&lt;br /&gt;
to the new option.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;I think that this patch is important because it results&lt;br /&gt;
in more standard behavior.  I want all of the files to&lt;br /&gt;
fall into a particular hierarchy (especially a local&lt;br /&gt;
directory when I might not have permission to install&lt;br /&gt;
man pages in /usr/local which is the default) without&lt;br /&gt;
having to edit the make file after I run the configure&lt;br /&gt;
script.  This patch makes this possible.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>