Mercurial > mplayer.hg
view gui/ui/pixmaps/mplayer.xpm @ 34309:119af6360b00
Discard frames where the size does not match the AVCodecContext width/height.
This avoids possible crashes on video size changes. The problem
is that we reinitialize the vo on get_buffer but due to codec
delay libavcodec might still return frames with the old size
afterwards, which the vo might no longer be able to handle.
Ideally libavcodec should not show this behaviour, since it
requires that any application using DR1 can handle frames of
different sizes simultaneously - which seems a bit extreme.
author | reimar |
---|---|
date | Mon, 05 Dec 2011 18:08:29 +0000 |
parents | 520fb0f7544c |
children |
line wrap: on
line source
/* XPM */ static const char * const mplayer_xpm[] = { /* columns rows colors chars-per-pixel */ "48 48 132 2", " c #000000", ". c #0C0C0C", "X c #121212", "o c #1A1A1A", "O c #242424", "+ c #2D2D2D", "@ c #333333", "# c #3B3B3B", "$ c #2E2374", "% c #2E2F7E", "& c #322374", "* c #362877", "= c #372978", "- c #3A2C79", "; c #3F317D", ": c #40327D", "> c #444444", ", c #4A4A4A", "< c #515151", "1 c #5C5C5C", "2 c #626262", "3 c #6B6B6B", "4 c #737373", "5 c #7B7B7B", "6 c #433580", "7 c #453881", "8 c #4A3D85", "9 c #4D4087", "0 c #4F4288", "q c #504489", "w c #55498C", "e c #5A4E8F", "r c #5B4F90", "t c #5D5291", "y c #615594", "u c #655A97", "i c #665B98", "p c #6A5F9A", "a c #6C619B", "s c #70669E", "d c #72689F", "f c #6D72A8", "g c #7369A0", "h c #786EA3", "j c #7B71A5", "k c #7E75A8", "l c #08A7E6", "z c #0AA8E6", "x c #13ABE7", "c c #1DAEE8", "v c #23B1E9", "b c #2AB3E9", "n c #31B6EA", "m c #3EBAEB", "M c #4BBFED", "N c #4DC0ED", "B c #5AC4EE", "V c #69C9F0", "C c #75CEF1", "Z c #79CFF1", "A c #7ED1F2", "S c #8076A9", "D c #847BAB", "F c #887FAE", "G c #838383", "H c #8A8A8A", "J c #929292", "K c #9B9B9B", "L c #8780AF", "P c #8980AF", "I c #8C84B1", "U c #938BB6", "Y c #968EB8", "T c #9A93BB", "R c #9F98BE", "E c #A09ABF", "W c #A2A2A2", "Q c #AAAAAA", "! c #BBBBBB", "~ c #A49DC1", "^ c #A7A0C3", "/ c #AAA4C5", "( c #AEA8C8", ") c #B2ACCA", "_ c #B6B0CD", "` c #B8B3CF", "' c #BAB5D0", "] c #BEB9D3", "[ c #84D3F3", "{ c #8AD5F3", "} c #90D7F4", "| c #95D9F4", " . c #9CDCF5", ".. c #A5DEF5", "X. c #ABE1F6", "o. c #B2E3F7", "O. c #B4E4F8", "+. c #BAE6F8", "@. c #C1BDD5", "#. c #C3C3C3", "$. c #CBCBCB", "%. c #C4C0D7", "&. c #C6C2D8", "*. c #CDCADD", "=. c #D3D3D3", "-. c #DBDBDB", ";. c #D1CEE0", ":. c #D4D1E2", ">. c #D9D6E5", ",. c #DCDAE7", "<. c #DDDBE8", "1. c #C3EAF9", "2. c #CAEDFA", "3. c #D2EFFA", "4. c #D8E3F0", "5. c #D6F0FB", "6. c #DBF2FB", "7. c #E2E2E2", "8. c #E4E1EC", "9. c #E8E6EF", "0. c #ECECEC", "q. c #E8E7F0", "w. c #ECEAF2", "e. c #E6F6FC", "r. c #E9F7FD", "t. c #ECF8FD", "y. c #F4F3F5", "u. c #F6F5F9", "i. c #F3FBFD", "p. c #F8F7FA", "a. c #FEFEFE", "s. c None", /* pixels */ "s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.", "s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.", "s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.", "s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.s.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.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.p.2.s.", "| n r.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.i.+.s.", " .m r.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.i.+.s.", "..M e.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.u.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.i.X.s.", "X.B r.a.a.a.a.a D a.a.:.q *.a./ q w h q.7., > a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.i...s.", "o.V r.a.a.a.u.= - y.a.P & ~ a.T : T 8 j a.3 3 a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.i. .X.", "X.Z r.a.a.a.>.& * ` p.8 * D a.T 8 9.s p a.# K a.7.5 5 4 $.G K a.$.H a.! G K 7.H W J K a.a.i.} O.", "+.[ t.a.a.a.` = h g *.* j t a.T & * - @.p.X $.0.O #.#. u.Q o p.2 $.K 1 -.X 0.> , G 4 a.a.t.{ X.", "..{ t.a.a.a.U r ] - h i ) 7 p.T 7 ;.w.a.-.X 0.H # a.Q @ a.0.. =.3 u.o 2 < K a.O Q a.a.a.a.i.Z X.", "2.| i.a.a.a.a S u.; * / :.* 9.T 8 a.a.a.Q + a.2 < a.5 1 a.a.O , -.0.. =.a.p.0.. 7.a.a.a.a.t.V o.", "s. .i.a.a.p.9 ~ a.j = w.y.= @.T 8 a.a.a.H O Q K . 4 # # #.a.1 1 a.a.# > 5 K #.. a.a.a.a.a.t.B ..", "s.X.i.a.a.a.*.w.a.q.;.a.a.;.q.9.;.a.a.a.u.#.0.a.=.7.0.=.y.a.5 -.a.a.p.#.7.a.0.-.a.a.a.a.a.t.M ..", "s...i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