Index: content/common/gpu/media/h264_dpb.h |
diff --git a/content/common/gpu/media/h264_dpb.h b/content/common/gpu/media/h264_dpb.h |
index 17cc88dad52d8602b6b99e7f92d5e0a62e0fba9e..fe15c700fec762322c021c0f3715bb6401d8435f 100644 |
--- a/content/common/gpu/media/h264_dpb.h |
+++ b/content/common/gpu/media/h264_dpb.h |
@@ -71,11 +71,12 @@ class H264DPB { |
void set_max_num_pics(size_t max_num_pics); |
size_t max_num_pics() { return max_num_pics_; } |
- // Remove unused (not reference and already outputted) pictures from DPB. |
- void RemoveUnused(); |
+ // Remove unused (not reference and already outputted) pictures from DPB |
+ // and free it. |
+ void DeleteUnused(); |
- // Remove a picture by its pic_order_cnt. |
- void RemoveByPOC(int poc); |
+ // Remove a picture by its pic_order_cnt and free it. |
+ void DeleteByPOC(int poc); |
// Clear DPB. |
void Clear(); |