From 9ed520d828d76d0d4cd81ffc9abf75f10f490dd8 Mon Sep 17 00:00:00 2001 From: shatty Date: Sun, 29 Sep 2002 07:36:36 +0000 Subject: [PATCH] changes in anticipation of useful double-clicking git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1281 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/media/media-add-ons/demultiplexer/Jamfile | 1 + .../demultiplexer/MediaDemultiplexerAddOn.cpp | 7 ++++--- src/add-ons/media/media-add-ons/reader/Jamfile | 1 + .../media/media-add-ons/reader/MediaReaderAddOn.cpp | 4 ++-- src/add-ons/media/media-add-ons/writer/Jamfile | 1 + .../media/media-add-ons/writer/MediaWriterAddOn.cpp | 6 +++--- 6 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/add-ons/media/media-add-ons/demultiplexer/Jamfile b/src/add-ons/media/media-add-ons/demultiplexer/Jamfile index 2b19d4dec5..4d7f7937fc 100644 --- a/src/add-ons/media/media-add-ons/demultiplexer/Jamfile +++ b/src/add-ons/media/media-add-ons/demultiplexer/Jamfile @@ -7,6 +7,7 @@ Addon demultiplexer.media_addon : media : MediaDemultiplexerAddOn.cpp MediaOutputInfo.cpp misc.cpp + : true ; LinkSharedOSLibs demultiplexer.media_addon : be media ; diff --git a/src/add-ons/media/media-add-ons/demultiplexer/MediaDemultiplexerAddOn.cpp b/src/add-ons/media/media-add-ons/demultiplexer/MediaDemultiplexerAddOn.cpp index adcd42788d..c2939cb1c0 100644 --- a/src/add-ons/media/media-add-ons/demultiplexer/MediaDemultiplexerAddOn.cpp +++ b/src/add-ons/media/media-add-ons/demultiplexer/MediaDemultiplexerAddOn.cpp @@ -135,9 +135,10 @@ status_t MediaDemultiplexerAddOn::AutoStart( // main // -------------------------------------------------------- // -// int main(int argc, char *argv[]) -//{ -//} +int main(int argc, char *argv[]) +{ + fprintf(stderr,"main called for MediaDemultiplexerAddOn\n"); +} // -------------------------------------------------------- // // stuffing diff --git a/src/add-ons/media/media-add-ons/reader/Jamfile b/src/add-ons/media/media-add-ons/reader/Jamfile index 8a0a6bb9fd..53403ee8e1 100644 --- a/src/add-ons/media/media-add-ons/reader/Jamfile +++ b/src/add-ons/media/media-add-ons/reader/Jamfile @@ -8,6 +8,7 @@ Addon reader.media_addon : media : MediaReader.cpp MediaReaderAddOn.cpp misc.cpp + : true ; LinkSharedOSLibs reader.media_addon : be media ; diff --git a/src/add-ons/media/media-add-ons/reader/MediaReaderAddOn.cpp b/src/add-ons/media/media-add-ons/reader/MediaReaderAddOn.cpp index f32c7331ec..e83e8140c3 100644 --- a/src/add-ons/media/media-add-ons/reader/MediaReaderAddOn.cpp +++ b/src/add-ons/media/media-add-ons/reader/MediaReaderAddOn.cpp @@ -171,12 +171,12 @@ status_t MediaReaderAddOn::SniffTypeKind( } // -------------------------------------------------------- // -// stuffing +// main // -------------------------------------------------------- // int main(int argc, char *argv[]) { - + fprintf(stderr,"main called for MediaReaderAddOn\n"); } // -------------------------------------------------------- // diff --git a/src/add-ons/media/media-add-ons/writer/Jamfile b/src/add-ons/media/media-add-ons/writer/Jamfile index d657764a1b..985c0394b0 100644 --- a/src/add-ons/media/media-add-ons/writer/Jamfile +++ b/src/add-ons/media/media-add-ons/writer/Jamfile @@ -8,6 +8,7 @@ Addon writer.media_addon : media : MediaWriter.cpp MediaWriterAddOn.cpp misc.cpp + : true ; LinkSharedOSLibs writer.media_addon : be media ; diff --git a/src/add-ons/media/media-add-ons/writer/MediaWriterAddOn.cpp b/src/add-ons/media/media-add-ons/writer/MediaWriterAddOn.cpp index f7ff5c6e05..ad691fcc51 100644 --- a/src/add-ons/media/media-add-ons/writer/MediaWriterAddOn.cpp +++ b/src/add-ons/media/media-add-ons/writer/MediaWriterAddOn.cpp @@ -162,7 +162,7 @@ status_t MediaWriterAddOn::SniffTypeKind( int32 * out_internal_id, void * _reserved) { - fprintf(stderr,"MediaReaderAddOn::SniffTypeKind\n"); + fprintf(stderr,"MediaWriterAddOn::SniffTypeKind\n"); return AbstractFileInterfaceAddOn::SniffTypeKind(type,in_kinds, B_BUFFER_CONSUMER, out_quality,out_internal_id, @@ -170,12 +170,12 @@ status_t MediaWriterAddOn::SniffTypeKind( } // -------------------------------------------------------- // -// stuffing +// main // -------------------------------------------------------- // int main(int argc, char *argv[]) { - + fprintf(stderr,"main called for MediaWriterAddOn\n"); } // -------------------------------------------------------- //