[Bug 747352] applemedia: texture cache negotiation doesn't work

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 11 09:09:36 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747352

--- Comment #25 from Ilya Konstantinov <ilya.konstantinov at gmail.com> ---
Nicolas, I've looked again at Matthew's code and mine, and tried to analyse the
ref-unrefs:

MATTHEW'S CODE AFTER 5b8d7a443ead269d034401a6788f2d47f8fa4bc5

prepare:
  next = B1
  stored = 0
  B1+

show-frame-pre-redisplay:
  next = B1
  stored = B1
  B1++

show-frame-post-redisplay:
  next = B1
  stored = B1
  B1++

prepare:
  next = B2
  stored = B1
  B1+
  B2+

show-frame-pre-redisplay:
  next = B2
  stored = B2
  B1+
  B2++

show-frame-post-redisplay:
  next = B1
  stored = B1
  B1 <- unref'd
  B2++

etc.

ILYA'S PROPOSED CHANGE:

prepare:
  next = B1
  stored = 0
  B1+

show-frame-pre-redisplay:
  next = B1
  stored = B1
  B1++

[redisplay]

show-frame-post-redisplay:
  next = 0         <-- DIFFERENCE
  stored = B1
  B1+              <-- DIFFERENCE

prepare:
  next = B2
  stored = B1
  B1+
  B2+

show-frame-pre-redisplay:
  next = B2
  stored = B2
  B1+
  B2++

[redisplay]

show-frame-post-redisplay:
  next = 0        <-- DIFFERENCE
  stored = B1
  B1 <- unref'd
  B2+

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the gstreamer-bugs mailing list