Project

General

Profile

Actions

Support Request #8895

closed

Convenience method to create pins using description from Media Description Service

Added by hidden over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EF
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Product Issue Opened
Affected Products:
Platform:
Topic:
ADTF::MediaDescription
FAQ Links:

Description

Supportanfrage

Franz muss in seinem Filter mehrere Pins anlegen. Dabei holt er sich die Description für den Pin vom adtf_media_description Service:

adtf::ucom::object_ptr<adtf::streaming::IStreamType> pType;
adtf::mediadescription::create_adtf_default_stream_type_from_service(static_cast<adtf_util::cString>("TL_tTrajectoryRel"), pType);
trajectory_reader = CreateInputPin("TrajectoryRel", pType);

Seine Frage/Idee: Geht das nicht auch als Einzeiler:

trajectory_reader = CreateInputPin("TrajectoryRel", "TL_tTrajectoryRel");

Lösung

ACORE-10257 angelegt

Actions #1

Updated by hidden over 4 years ago

  • Project changed from Public Support to 11
  • Status changed from New to In Progress
  • Topic set to ADTF::FilterSDK
  • Customer set to AUDI
  • Department set to EF
  • Affected Products ADTF 3.6.2 added
Actions #2

Updated by hidden over 4 years ago

Ja das wäre cool, eine angepasste create_adtf_default_stream_type_from_service (die einen richtigen Returnwert hat) würde auch schon viel bringen:

auto pReader = CreateInputPin("name", adtf::mediadescription::stream_type_from_service("name"));

Dann haben nicht alle Filter eine Abhängigkeit zum MD Service. Könnte Franz damit leben?

Actions #3

Updated by hidden over 4 years ago

  • Status changed from In Progress to Customer Feedback Required
Actions #4

Updated by hidden over 4 years ago

Jens ?

Actions #5

Updated by hidden over 4 years ago

Sieht gut aus :)
Danke!

Actions #6

Updated by hidden over 4 years ago

  • Project changed from 11 to Public Support
  • Subject changed from Anlegen von Pins vereinfachen to Convenience method to create pins using description from Media Description Service
  • Description updated (diff)
  • Status changed from Customer Feedback Required to To Be Closed
  • Private changed from Yes to No
  • Topic changed from ADTF::FilterSDK to ADTF::MediaDescription
  • Resolution set to Product Issue Opened
  • Product Issue Numbers set to https://www.cip.audi.de/jira/browse/ACORE-10257
  • Support Level changed from 2nd Level to 3rd Level
Actions #7

Updated by hidden almost 4 years ago

  • Status changed from To Be Closed to Closed
Actions

Also available in: Atom PDF