modules/media/src/main/native/gstreamer/plugins/avcdecoder/avcdecoder.h
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 64,73 ****
--- 64,74 ----
gint64 segment_start; // the start time of the segment
GstClockTime frame_duration; // the duration of a single video frame (nsec)
GQueue* ordered_frames; // decoded frames sorted into order of increasign time stamp
+ GMutex* mutex; // synchronize frames queue access
GstClockTime previous_timestamp; // the timestamp of the most recent preceding frame
GstClockTime timestamp_ceil; // increment above previous timestamp in which frame should fall
};