From: Reinhard N. <rn...@gm...> - 2009-01-11 02:08:06
|
# HG changeset patch # User Reinhard Nißl <rn...@gm...> # Date 1231621768 -3600 # Node ID 00209f7b48500a5d5455835a16eff45a262aadb5 # Parent 91c533ddcc3b051e01b0a7bc46dcdd1a518b47a9 Fix faked preview data to avoid demuxer warning. diff -r 00209f7b48500a5d5455835a16eff45a262aadb5 -r 91c533ddcc3b051e01b0a7bc46dcdd1a518b47a9 src/vdr/input_vdr.c --- a/src/vdr/input_vdr.c Sat Jan 10 22:09:28 2009 +0100 +++ b/src/vdr/input_vdr.c Sat Jan 10 22:08:15 2009 +0100 @@ -1689,8 +1689,8 @@ static int vdr_plugin_get_optional_data( { case INPUT_OPTIONAL_DATA_PREVIEW: /* just fake what mpeg_pes demuxer expects */ - memcpy (data, "\x00\x00\x01\xe0\x00\x00", 6); - return 6; + memcpy (data, "\x00\x00\x01\xe0\x00\x03\x80\x00\x00", 9); + return 9; } return INPUT_OPTIONAL_UNSUPPORTED; } |