1 // Copyright 2023 Samsung Electronics Inc. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "media/filters/media_player_bridge_capi_tv.h"
9 MediaPlayerBridgeCapiTV::MediaPlayerBridgeCapiTV(const GURL& url,
10 std::string& user_agent,
12 : MediaPlayerBridgeCapi(url, user_agent, volume), weak_factory_(this) {
13 LOG(INFO) << "(" << static_cast<void*>(this) << ") " << __func__;
16 MediaPlayerBridgeCapiTV::~MediaPlayerBridgeCapiTV() {
17 LOG(INFO) << "(" << static_cast<void*>(this) << ") " << __func__;
18 weak_factory_.InvalidateWeakPtrs();