LCOV - code coverage report
Current view: top level - source - RialtoGStreamerMSEBaseSinkPrivate.h (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 2 2
Test Date: 2025-08-04 11:40:41 Functions: 100.0 % 2 2

            Line data    Source code
       1              : /*
       2              :  * Copyright (C) 2022 Sky UK
       3              :  *
       4              :  * This library is free software; you can redistribute it and/or
       5              :  * modify it under the terms of the GNU Lesser General Public
       6              :  * License as published by the Free Software Foundation;
       7              :  * version 2.1 of the License.
       8              :  *
       9              :  * This library is distributed in the hope that it will be useful,
      10              :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      11              :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      12              :  * Lesser General Public License for more details.
      13              :  *
      14              :  * You should have received a copy of the GNU Lesser General Public
      15              :  * License along with this library; if not, write to the Free Software
      16              :  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
      17              :  */
      18              : 
      19              : #pragma once
      20              : 
      21              : #include <gst/gst.h>
      22              : 
      23              : #include <string>
      24              : 
      25              : #include "ControlBackendInterface.h"
      26              : #include "IPlaybackDelegate.h"
      27              : #include "MediaPlayerManager.h"
      28              : #include "RialtoGStreamerMSEBaseSinkCallbacks.h"
      29              : #include <atomic>
      30              : #include <map>
      31              : #include <memory>
      32              : #include <mutex>
      33              : #include <optional>
      34              : #include <queue>
      35              : 
      36              : G_BEGIN_DECLS
      37              : 
      38              : struct _RialtoMSEBaseSinkPrivate
      39              : {
      40          265 :     _RialtoMSEBaseSinkPrivate() = default;
      41          265 :     ~_RialtoMSEBaseSinkPrivate() = default;
      42              : 
      43              :     std::mutex m_sinkMutex;
      44              :     std::shared_ptr<IPlaybackDelegate> m_delegate{nullptr};
      45              :     GstPad *m_sinkPad{nullptr};
      46              :     RialtoGStreamerMSEBaseSinkCallbacks m_callbacks;
      47              :     std::map<IPlaybackDelegate::Property, GValue> m_queuedProperties{};
      48              : };
      49              : G_END_DECLS
        

Generated by: LCOV version 2.0-1