[mythtv] Parser not found...
Nigel Pearson
nigel at ind.tansu.com.au
Wed Dec 21 23:58:15 EST 2005
> On some channels i get the error
>
> parser not found for codec 94211???
I had a problem like that a few months ago,
which was cured by a purge and rebuild.
To explore the problem, though, I added:
Index: libs/libmythtv/avformatdecoder.cpp
===================================================================
--- libs/libmythtv/avformatdecoder.cpp (revision 8333)
+++ libs/libmythtv/avformatdecoder.cpp (working copy)
@@ -1011,6 +1011,30 @@
QString("Could not find decoder for "
"codec (%1), ignoring.")
.arg(codec_id_string(enc->codec_id)));
+ if (print_verbose_messages)
+ {
+ AVCodec *p = first_avcodec;
+ int i=1;
+ while (p) {
+ if (p->name[0] != '\0')
+ printf("Codec %s:", p->name);
+ else
+ printf("Codec %d, null name,", i);
+
+ if (p->decode == NULL) puts("decoder is null");
+
+ if (p->id == enc->codec_id)
+ { codec = p; break; }
+ else
+ printf("Codec %d != %d\n", p->id, enc->codec_id);
+
+ p = p->next;
+ ++i;
+ }
+ if (!codec)
+ exit(0);
+ }
+ else
continue;
}
--
Nigel Pearson, nigel at ind.tansu.com.au|"Beware - I am a carrier
Telstra Dev. Lab, Sydney, Australia | of surrealism"
Office: 9814 4803 Fax: 9814 4897 | D A
Mobile: 0408 664435 Home: 9792 6998 | L I
More information about the mythtv-dev
mailing list