[mythtv] [PATCH] Specify aspect ratio cycle

Hamish Moffatt hamish at cloud.net.au
Mon Jun 7 09:28:49 EDT 2004


On Mon, Jun 07, 2004 at 09:12:15AM +0100, Jon Burgess wrote:
> Hamish Moffatt wrote:
> 
> >Interesting stuff Jon. Do you have any information on whether this has
> >been implemented outside of the UK?
> >
> >I checked dba.org.au (for example) but it is not very technical.
> I think one Australian user on the VDR list reported that he did not see 
> AFD headers but did receive "pan and scan" information.

Hmm. Something else to look into then.

> Try this small tool one one or two of your recordings, it will search 
> and display any AFD information that it finds.
> 
>   http://www.jburgess.uklinux.net/afd-0.01.tgz

Thanks. I tried it on Myth recordings from every channel and it didn't
report any AFD codes. (I hope it was OK to run it on Myth recordings,
though your header comment mentioned VDR. It did successfully report the
16:9 aspect ratio in every file.) Pity, but not surprising as I haven't
found our DVB-T service to be particularly excellent here.

By the way, afd wouldn't run on files > 2 Gb (which is most of my
recordings) without the attached patch.


Regards
Hamish
-- 
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>
-------------- next part --------------
diff -ur afd-0.01.orig/Makefile afd-0.01/Makefile
--- afd-0.01.orig/Makefile	2004-06-07 09:11:16.000000000 +1000
+++ afd-0.01/Makefile	2004-06-07 19:36:22.000000000 +1000
@@ -1,4 +1,4 @@
-CFLAGS += -O -Wall
+CFLAGS += -O -Wall -D_GNU_SOURCE
 
 all: afd
 
diff -ur afd-0.01.orig/afd.c afd-0.01/afd.c
--- afd-0.01.orig/afd.c	2004-06-07 10:01:39.000000000 +1000
+++ afd-0.01/afd.c	2004-06-07 19:35:51.000000000 +1000
@@ -187,7 +187,7 @@
 	int off = 0;
 	
 	
-	fd = open(name, O_RDONLY);
+	fd = open(name, O_RDONLY | O_LARGEFILE);
 	
 	if (fd < 0) {
 		perror(name);


More information about the mythtv-dev mailing list