Skip to content

Commit

Permalink
Fix the case where the detected resolution is all over the place. Mak…
Browse files Browse the repository at this point in the history
…e the FLV

player scale based on only the initial resolution at frame 0.

Fixes #9036.



git-svn-id: http://svn.mythtv.org/svn/trunk@27173 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information
Beirdo committed Nov 11, 2010
1 parent 83c9038 commit f63e853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/stream/stream_flv.pl
Expand Up @@ -55,7 +55,7 @@
my ($abitrate) = $sh->fetchrow_array;
$sh->finish();
# auto-detect height based on aspect ratio
$sh = $dbh->prepare('SELECT data FROM recordedmarkup WHERE chanid=? AND starttime=FROM_UNIXTIME(?) AND (type=30 OR type=31) AND data IS NOT NULL ORDER BY type');
$sh = $dbh->prepare('SELECT data FROM recordedmarkup WHERE chanid=? AND starttime=FROM_UNIXTIME(?) AND (type=30 OR type=31) AND mark=0 AND data IS NOT NULL ORDER BY type');
$sh->execute($chanid,$starttime);
$x = $sh->fetchrow_array; # type = 30
$y = $sh->fetchrow_array if ($x); # type = 31
Expand Down

0 comments on commit f63e853

Please sign in to comment.