new york personals

personal loans las vegas

senior singles tours

jewish single dating

woman seeking married men

search dating sites

dating devils

free personal photo

addult friend finder

date agency

dating agency north west

dating a millionaire

beauty of asian girls

us swing clubs

singapore women seeking men

contacts singles

reviews of online dating

farmington singles

date with single

durham nc singles

match air rifle

christian online dating sites

just for lunch dating

adlutfriendfinder

agency dating

dating and women

numbers for sex chat

find my perfect match

lesbian roommates

singles retreat

dating on line ireland

singles in victoria bc

wives who cheat

oklahoma singles line

sex friend

online dating london uk

singles clubs brisbane

sex fr

man looking for sex

asian girls cam

find cheating wife

dating site in new zealand

best singles sites

sex groups

canadianonlinedating

meet singles from

colombian women seeking men

mature women web

adultfriemdfinder

oral sex female

dating sites over 40

swinger live

chicago catholic singles

yahoo personals australia

100 free dating site in europe

singles in colombia

single muslim men

www sexe

swinging ladies

nudist friend finder

dating online service single

christian online dating services

south jersey escort

free hot housewives

rencontres sexuel

appleton singles

uk personals co

wiccan singles

hyderabad women seeking men

us personals

gay cam chat

mature swapping

hancock park singles

atheist personals

christian singles meet

freedating com

sex chat without registration

canada dating site

australia gay chat

dating phone

aids dating hiv

swinging first time

tennessee personals

african mail order brides

uk sex phone

match maker love

baltimore jewish singles

dating professional uk

2006 dating site

meet singles vancouver

on line dating agencies

true match com

sauna couples

online matchmaker

singles nc

singles health insurance

singles shopping

escort service in new jersey

meet singles in houston

restaurants for singles

Bug-fix for ATSC Channel Changing on MythTv 0.17

Posted by Jonathan on March 18, 2005

Finally managed to nail the channel-changing bug on MythTV that had been bugging me, and more or less making mythtv unusable for me.

You can reproduce the bug by switching channels when on (on my setup) a ATSC (OTA HDTV) source. On switching channels between two channels that have the same pid/stream type (not toooo sure of this), the old pes won’t get cleared out properly.

The proper fix would be to ensure that the pid/pes stuff gets handled properly in av_remove_stream in utils.c. Anyways, here’s my crappy fix (well, more of a hack)

In the file libmythtv/avformatdecoder.cpp, change the file to look like the following. The real bug is that this doesn’t fixup the pmt_pid tables in the ts context thingymajig. This works great now, well for me anyway.

void AvFormatDecoder::Reset(void)
{
SeekReset();

// Clear out the existing mpeg streams
// so we can get a clean set from the
// new seek position.
// for (int i = ic->nb_streams – 1; i >= 0; i–)
// {
// AVStream *st = ic->streams[i];
// if (st->codec.codec_type == CODEC_TYPE_AUDIO)
// {
// if (st->codec.codec)
// avcodec_close(&st->codec);
// av_remove_stream(ic, st->id);
// }
// }

m_positionMap.clear();
framesPlayed = 0;
framesRead = 0;
seen_gop = false;
seq_count = 0;
}

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

Comments