[mythtv] Experimental epia/xvmc colour osd HACK
All, Finally got around to making an updated colour osd diff. Diff against current CVS attached. The corresponding epiaosd theme is at:- http://www.ivor.it/mythtv/epiaosd.tar.gz Slightly slower than the last version so there's the occasional prebuffer pause... but that's because the newly hacked monochrome font blitting is ahem 'sub optimal' and I kept delaying until I'd fixed it... so there's a horrible but working version at the moment. Merry Christmas, -- Ivor Hewitt. http://www.ivor.it - tech | http://www.ivor.org - hedge epiaosd.diff.gz Description: GNU Zip compressed data ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
[mythtv] [PATCH] Typo in recent programinfo.cpp changes
Hi, In CVS from last night I see this error: DB Error (SetMarkupMap checking record table): Query was: SELECT starttime FROM recorded WHERE chanid = '1051' AND starttime : STARTTIME ; Driver error was [2/1064]: QMYSQL3: Unable to execute query Database error was: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ': STARTTIME' at line 1 Which is fixed with the attached patch. Happy Holidays, Shane --- mythtv-dec24-cvs/libs/libmythtv/programinfo.cpp 2004-12-24 22:28:11.0 -0500 +++ mythtv-dec24.2/libs/libmythtv/programinfo.cpp 2004-12-25 11:15:07.0 -0500 @@ -1425,7 +1425,7 @@ // check to make sure the show still exists before saving markups query.prepare(SELECT starttime FROM recorded WHERE chanid = :CHANID - AND starttime : STARTTIME ;); + AND starttime = :STARTTIME ;); query.bindValue(:CHANID, chanid); query.bindValue(:STARTTIME, recstartts.toString(MMddhhmm00)); ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: [mythtv] Thoughts on Myth UI
Why would you need svg to support stretching ui items? Isaac I only suggested svg because they scale better. Also, it would be nice to have svg support for those who are running at very high resolutions (for hdtv output). However, I am not sure how more load that would add to mythfrontend. I suppose it would fine to just scale pixmaps for the rows. I took a screenshot of what I meant just in case I wasn't clear: http://files.radixpub.com/arrowoverlap.jpg . It's nothing important, just a minor visual nuisance. It might also be nice to also be able to scale fonts based on how many rows are there. -- Jason Gabriele jason.gabriele at gmail dot com ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: [mythtv] [patch] mmx_gcc.cpp
On Fri, 24 Dec 2004, Isaac Richards wrote: ]On Thursday 16 December 2004 01:30 pm, Daniel Thor Kristjansson wrote: ] This is a rewrite of the TDStretchMMX and FIRFilterMMX implementations ] in libmythsoundtouch. As per Issac's suggestion it uses intrinsics ] instead of volatile asm blocks. This allows the compiler more headroom ] for spilling registers, which means we no longer need special compile ] flags for libmythsoundtouch. Plus, I found a couple little optimizations. ]You didn't attach the patch that I can see. Oops, I've regenerated against the latest cvs, see attached. -- Daniel mmx_gcc-v4.patch.bz2 Description: Binary data ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
[mythtv] [PATCH] sub-channel in chanid
Hi, Attached is a small patch that changes the chanid to include the sub-channel if it's available. Basically just increased the chanid length to 7 digits with the last three being the sub-channel, or '000' if there isn't one. Can be convenient for sorting. Feel free to apply or not as you see fit... Thanks, Don subchannel-in-chanid.patch.bz2 Description: BZip2 compressed data ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: [mythtv] [PATCH] Typo in recent programinfo.cpp changes
On Sat, 2004-12-25 at 13:20, Bruce Markey wrote: Shane Shrybman wrote: ... + AND starttime = :STARTTIME ;); Fixed. Thanks. Sure, no problem. I see the change comment on the web based cvs but the diff looks empty? -- bjm __ ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: [mythtv] [PATCH] Typo in recent programinfo.cpp changes
On Sat, 2004-12-25 at 13:20, Bruce Markey wrote: Shane Shrybman wrote: ... + AND starttime = :STARTTIME ;); Fixed. Thanks. Found one more missing ':', which was breaking seeking in mpeg2 files I think. The combined patch is attached. Regards, Shane -- bjm __ ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev --- mythtv-dec24-cvs/libs/libmythtv/programinfo.cpp 2004-12-24 22:28:11.0 -0500 +++ mythtv-dec24.2/libs/libmythtv/programinfo.cpp 2004-12-25 14:10:08.0 -0500 @@ -1425,7 +1425,7 @@ // check to make sure the show still exists before saving markups query.prepare(SELECT starttime FROM recorded WHERE chanid = :CHANID - AND starttime : STARTTIME ;); + AND starttime = :STARTTIME ;); query.bindValue(:CHANID, chanid); query.bindValue(:STARTTIME, recstartts.toString(MMddhhmm00)); @@ -1724,7 +1724,7 @@ query.prepare(INSERT INTO recordedmarkup (chanid, starttime, mark, type, offset) VALUES - ( :CHANID , :STARTTIME , :MARK , :TYPE , OFFSET );); + ( :CHANID , :STARTTIME , :MARK , :TYPE , :OFFSET );); query.bindValue(:CHANID, chanid); query.bindValue(:STARTTIME, recstartts.toString(MMddhhmm00)); } ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
[mythtv] [PATCH] mythfrontend segfault fix
Hi, Frontend segfault fix taken from [EMAIL PROTECTED]'s patch (posted to the list recently). Thanks vitold! This was responsible for a lot of frontend crashes on my system. Regards, Shane --- mythtv-dec24-cvs/libs/libmythtv/NuppelVideoPlayer.cpp.orig 2004-12-25 14:41:01.0 -0500 +++ mythtv-dec24-cvs/libs/libmythtv/NuppelVideoPlayer.cpp 2004-12-25 14:42:30.0 -0500 @@ -2198,12 +2198,11 @@ } #endif -if (normal_speed) +if (normal_speed audioOutput) { audioOutput-SetStretchFactor(play_speed); #ifdef USING_DIRECTX -if (audioOutput) -audioOutput-Reset(); +audioOutput-Reset(); #endif } ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
[mythtv] [Pseudo-PATCH] SBE crash when MBE restarted
Hi, This is almost definitely not the correct fix for this. However, I hope it does illustrate the problem. This bug causes the SBE to crash when the MBE is restarted. This patch allows my SBE to survive. What is the correct way to fix this? (BTW: Just curious, is there a name for this general type of problem? ) --- mythtv-dec24-cvs/programs/mythbackend/mainserver.cpp2004-12-08 04:03:51.0 -0500 +++ mythtv-dec24.2/programs/mythbackend/mainserver.cpp 2004-12-25 01:51:55.0 -0500 @@ -480,7 +480,14 @@ sentSet.append(pbs); RefSocket *sock = pbs-getSocket(); -sock-UpRef(); + if (sock) +sock-UpRef(); + else + { + cout Lost Socket! endl; +iter = playbackList.begin(); + continue; + } if (sendGlobal) { 2004-12-25 15:54:20.242 Connecting to master server: XXX:6543 2004-12-25 15:54:20.259 Could not connect to master server. 2004-12-25 15:54:21.275 Connecting to master server: XXX:6543 2004-12-25 15:54:21.296 Could not connect to master server. 2004-12-25 15:54:22.314 Connecting to master server: XXX:6543 2004-12-25 15:54:22.330 Connected successfully 2004-12-25 15:54:41.261 Changing from WatchingLiveTV to None Lost Socket! 2004-12-25 15:55:24.776 MainServer::HandleAnnounce Playback 2004-12-25 15:55:24.788 adding: mars as a client (events: 0) 2004-12-25 15:55:24.820 MainServer::HandleAnnounce Playback 2004-12-25 15:55:26.113 adding: mars as a client (events: 0) 2004-12-25 15:55:26.723 adding: mars as a remote ringbuffer 2004-12-25 15:55:27.326 Changing from None to WatchingLiveTV 2004-12-25 15:55:28.551 Using profile 'Live TV' to record Regards, Shane ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
[mythtv] Latest CVS (12-25-04 ) Doesn't Compile
Happy Holidays to all. Latest CVS(12-25-04) doesn't compile after distclean: g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/local/include -I../libmyth -I.. -Idvbdev -Impeg -I../libavcodec -I/usr/lib/qt-3.1/include -o programinfo.o programinfo.cppprograminfo.cpp: In member function `void ProgramInfo::ApplyRecordRecGroupChange(QSqlDatabase*, const QString)':programinfo.cpp:757: error: `executedQuery' undeclared (first use this function)programinfo.cpp:757: error: (Each undeclared identifier is reported only once for each function it appears in.)programinfo.cpp: In member function `void ProgramInfo::SetFilesize(long long int, QSqlDatabase*)':programinfo.cpp:991: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::SetBookmark(long long int, QSqlDatabase*)':programinfo.cpp:1029: error: conversion from `long long int' to `const QVariant ' is ambiguous/usr/lib/qt-3.1/include/qvariant.h:165: error: candidates are: QVariant::QVariant(double)/usr/lib/qt-3.1/include/qvariant.h:162: error: QVariant::QVariant(unsigned int)/usr/lib/qt-3.1/include/qvariant.h:161: error: QVariant::QVariant(int)/usr/lib/qt-3.1/include/qvariant.h:129: error: QVariant::QVariant(const char*) near matchprograminfo.cpp:1035: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::SetEditing(bool, QSqlDatabase*)':programinfo.cpp:1099: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::SetCommFlagged(int, QSqlDatabase*)':programinfo.cpp:1137: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::SetPreserveEpisode(bool, QSqlDatabase*)':programinfo.cpp:1175: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::SetAutoExpire(bool, QSqlDatabase*)':programinfo.cpp:1193: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::SetCutList(QMaplong long int, int, QSqlDatabase*)':programinfo.cpp:1338: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::ClearMarkupMap(QSqlDatabase*, int, long long int, long long int)':programinfo.cpp:1413: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::SetMarkupMap(QMaplong long int, int, QSqlDatabase*, int, long long int, long long int)':programinfo.cpp:1434: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::ClearPositionMap(int, QSqlDatabase*)':programinfo.cpp:1600: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::SetPositionMap(QMaplong long int, long long int, int, QSqlDatabase*, long long int, long long int) ':programinfo.cpp:1647: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::SetPositionMapDelta(QMaplong long int, long long int, int, QSqlDatabase*)':programinfo.cpp:1737: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `void ProgramInfo::Save(QSqlDatabase*)':programinfo.cpp:2032: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `bool ProgramList::FromProgram(QSqlDatabase*, QString, ProgramList)':programinfo.cpp:2688: error: `executedQuery' undeclared (first use this function)programinfo.cpp: In member function `bool ProgramList::FromOldRecorded(QSqlDatabase*, QString)':programinfo.cpp:2769: error: `executedQuery' undeclared (first use this function)make[2]: *** [programinfo.o] Error 1make[2]: Leaving directory `/home/mythtv/cvs/mythtv/libs/libmythtv'make[1]: *** [sub-libmythtv] Error 2make[1]: Leaving directory `/home/mythtv/cvs/mythtv/libs'make: *** [sub-libs] Error 2 djb ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
[mythtv] HDTV no longer smooth
Since the patches Isaac committed yesterday, my HDTV playback isn't smooth. The recordings themselves are fine, but playback alternates between slow (say 10-15 fps) and fast (say 30-35 fps) about once a second or so. I have guests over, so for now I just sync'ed back to 24 Dec 00:00. I'll look into it after the football weekend is over, but I thought I'd mention it now in case someone else has the same problem. Cheers, Kyle ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: [mythtv] [PATCH] mythfrontend segfault fix
Thank goodness somebody has figured out why the frontend kept crashing! Happy holidays, you more than deserve it. :) On Sat, 25 Dec 2004 14:47:59 -0500, Shane Shrybman [EMAIL PROTECTED] wrote: Hi, Frontend segfault fix taken from [EMAIL PROTECTED]'s patch (posted to the list recently). Thanks vitold! This was responsible for a lot of frontend crashes on my system. Regards, Shane ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
[mythtv] Re: [PATCH] Add metadata editor to MythMusic
Isaac wrote: The attached patch adds a metadata editor to MythMusic which allows you to save the changes optionally to both the database and the file. You access the editor from the playback screen by pressing the INFO button. Useful if you notice the track that you are playing has been wrongly tagged or the imported metadata is wrong. Are there images for this that weren't sent along with the patch? Isaac Whoops yes you are right. Sorry. No sure what happened there I seem to have a mixture of images from MythVideo as well as from MythMusic used in the UI files! The attached patch contains the new images which are in fact just copies of images from MythVideo renamed mm_* instead of mv_*. And cleaned up the Theme files so they only use the new images. I think that is better than using the MythVideo images as they will only be available if MythVideo has been installed. Regarding the problems with libid3tag there is a patched version here http://cvs.sourceforge.net/viewcvs.py/audacity/lib-src/libid3tag/ which I think at least solves the writing to v2.3 tags. Would it be acceptable to add the patched version to MythMusic in a similar manor to the way the SoundTouch library was added to MythTV? That way we could patch the library to work just the way we want and wouldn't add any more external dependencies. May I be the first to wish you and all the other developers a Happy New Year. Paul metadataeditor.patch.tar.gz Description: Binary data ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
[mythtv] [PATCH] timestretch creation locking
this patch is only for robustness as it is possible for the soundstretch engine to be used before it is fully initialsed. cheers mark Mark Spieth, PhDDC Labs Pty Ltd2 Mavron StreetAshwood 3147Australiaph:+61-3-9807 8600Mobile:+61-4-11 515 717Fax:+61-3-9807 9300www.dclabs.com.au mythtv_timestretch9.patch Description: Binary data ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
RE: [mythtv] Latest CVS (12-25-04 ) Doesn't Compile
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Berger Sent: Sunday, 26 December 2004 8:24 AM To: mythtv-dev@mythtv.org Subject: [mythtv] Latest CVS (12-25-04 ) Doesn't Compile Happy Holidays to all. Latest CVS (12-25-04) doesn't compile after distclean: g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\/usr/local\ -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/local/include -I../libmyth -I.. -Idvbdev -Impeg -I../libavcodec -I/usr/lib/qt-3.1/include -o programinfo.o programinfo.cpp programinfo.cpp: In member function `void ProgramInfo::ApplyRecordRecGroupChange(QSqlDatabase*, const QString)': programinfo.cpp:757: error: `executedQuery' undeclared (first use this function) This is because QSqlQuery::executedQuery isn't part of QT3.1. It only appeared in QT3.2. QSqlQuery::executedQuery is used quite a few times in this recent patch. http://cvs.mythtv.org/cgi-bin/viewcvs.cgi/mythtv/libs/libmythtv/programinfo. cpp?r1=1.177r2=1.178 Isaac mentioned keeping QT3.1 compatibility again recently but I'm not sure how long he wants to keep this up. I also am still using QT3.1 (RH8) but will probably upgrade soonish. CH ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: [mythtv] [PATCH] Typo in recent programinfo.cpp changes
Shane Shrybman wrote: On Sat, 2004-12-25 at 16:56, Rudy Zijlstra wrote: Shane Shrybman wrote: With this applied I can seek again. Recordings made with this not in, are not seekable though. Any jump will jump to start of recording. I've tried to repair with mythcommflag, with --rebuild as well as a full run, but no luck. Any idea on how to make such recordings seekable again? Yup, same problem here. This commit log entry says that commflag should fix it? Didn't seem to work for me either. http://www.gossamer-threads.com/lists/mythtv/commits/65000?search_string=seektable;#65000 go into mysql and manually delete all info of the programs that have this problem from recordedmarkup. Than run mythcommflag. Some info in the recordedmarkup table about those recordings is totally wrong and not deleted by mythcommflag when you ask for a rebuild. A manual delete from the table clears that out. An example of the mysql command i used: mysql delete from recordedmarkup where chanid=1 and starttime=20041225201400; (after first checking this is indeed in the table). Cheers, Rudy ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: [mythtv] [PATCH] mythfrontend segfault fix
On Saturday 25 December 2004 02:47 pm, Shane Shrybman wrote: Hi, Frontend segfault fix taken from [EMAIL PROTECTED]'s patch (posted to the list recently). Thanks vitold! This was responsible for a lot of frontend crashes on my system. Also applied.. Isaac ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: [mythtv] [PATCH] Typo in recent programinfo.cpp changes
On Saturday 25 December 2004 02:36 pm, Shane Shrybman wrote: On Sat, 2004-12-25 at 13:20, Bruce Markey wrote: Shane Shrybman wrote: ... + AND starttime = :STARTTIME ;); Fixed. Thanks. Found one more missing ':', which was breaking seeking in mpeg2 files I think. The combined patch is attached. Applied, thanks. =) Isaac ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: [mythtv] [PATCH] Typo in recent programinfo.cpp changes
On Sat, 2004-12-25 at 20:44, Rudy Zijlstra wrote: go into mysql and manually delete all info of the programs that have this problem from recordedmarkup. Than run mythcommflag. Some info in the recordedmarkup table about those recordings is totally wrong and not deleted by mythcommflag when you ask for a rebuild. A manual delete from the table clears that out. An example of the mysql command i used: mysql delete from recordedmarkup where chanid=1 and starttime=20041225201400; (after first checking this is indeed in the table). Thanks Rudy! Cheers, Rudy __ ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev ___ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev