/*****************************************************************************
- * VLCLibrary.h: VLCKit.framework VLCLibrary implementation
+ * VLCLibrary.h: VLCKit.framework VLCLibrary header
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team
-//
-// VLCStreamOutput.h
-// VLCKit
-//
-// Created by Pierre d'Herbemont on 1/12/08.
-// Copyright 2008 __MyCompanyName__. All rights reserved.
-//
+/*****************************************************************************
+ * VLCStreamOutput.h: VLCKit.framework VLCStreamOutput header
+ *****************************************************************************
+ * Copyright (C) 2008 Pierre d'Herbemont
+ * Copyright (C) 2008 the VideoLAN team
+ * $Id$
+ *
+ * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
#import <Cocoa/Cocoa.h>
-//
-// VLCStreamSession.h
-// VLCKit
-//
-// Created by Pierre d'Herbemont on 1/12/08.
-// Copyright 2008 __MyCompanyName__. All rights reserved.
-//
+/*****************************************************************************
+ * VLCStreamSession.h: VLCKit.framework VLCStreamSession header
+ *****************************************************************************
+ * Copyright (C) 2008 Pierre d'Herbemont
+ * Copyright (C) 2008 the VideoLAN team
+ * $Id$
+ *
+ * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
#import <Cocoa/Cocoa.h>
#import <VLCKit/VLCStreamOutput.h>
/*****************************************************************************
- * VLCAudio.m: VLC.framework VLCAudio implementation
+ * VLCAudio.m: VLCKit.framework VLCAudio implementation
*****************************************************************************
* Copyright (C) 2007 Faustino E. Osuna
* Copyright (C) 2007 the VideoLAN team
/*****************************************************************************
- * VLCEventManager.h: VLC.framework VLCEventManager implementation
- * This is used to communicate in a sound way accross threads.
+ * VLCEventManager.m: VLCKit.framework VLCEventManager implementation
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team
/*****************************************************************************
- * VLCLibrary.h: VLC.framework VLCLibrary implementation
+ * VLCLibrary.m: VLCKit.framework VLCLibrary implementation
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team
/*****************************************************************************
- * VLCMedia.m: VLC.framework VLCMedia implementation
+ * VLCMedia.m: VLCKit.framework VLCMedia implementation
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team
/*****************************************************************************
- * VLCMediaDiscoverer.m: VLC.framework VLCMediaDiscoverer implementation
+ * VLCMediaDiscoverer.m: VLCKit.framework VLCMediaDiscoverer implementation
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team
/*****************************************************************************
- * VLCMediaDiscoverer.m: VLC.framework VLCMediaDiscoverer implementation
+ * VLCMediaLibrary.m: VLCKit.framework VLCMediaLibrary implementation
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team
/*****************************************************************************
- * VLCMediaList.m: VLC.framework VLCMediaList implementation
+ * VLCMediaList.m: VLCKit.framework VLCMediaList implementation
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team
/*****************************************************************************
- * VLCMediaList.m: VLC.framework VLCMediaList implementation
+ * VLCMediaListAspect.m: VLCKit.framework VLCMediaListAspect implementation
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team
/*****************************************************************************
- * VLCMediaPlayer.m: VLC.framework VLCMediaPlayer implementation
+ * VLCMediaPlayer.m: VLCKit.framework VLCMediaPlayer implementation
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team
-//
-// VLCStreamOutput.m
-// VLCKit
-//
-// Created by Pierre d'Herbemont on 1/12/08.
-// Copyright 2008 __MyCompanyName__. All rights reserved.
-//
+/*****************************************************************************
+ * VLCStreamOutput.m: VLCKit.framework VLCStreamOutput implementation
+ *****************************************************************************
+ * Copyright (C) 2008 Pierre d'Herbemont
+ * Copyright (C) 2008 the VideoLAN team
+ * $Id$
+ *
+ * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
#import "VLCStreamOutput.h"
#import "VLCLibVLCBridging.h"
-
@implementation VLCStreamOutput
- (id)initWithOptionDictionary:(NSDictionary *)dictionary
{
-//
-// VLCStreamSession.m
-// VLCKit
-//
-// Created by Pierre d'Herbemont on 1/12/08.
-// Copyright 2008 __MyCompanyName__. All rights reserved.
-//
+/*****************************************************************************
+ * VLCStreamSession.m: VLCKit.framework VLCStreamSession implementation
+ *****************************************************************************
+ * Copyright (C) 2008 Pierre d'Herbemont
+ * Copyright (C) 2008 the VideoLAN team
+ * $Id$
+ *
+ * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
#import "VLCStreamSession.h"
#import "VLCLibVLCBridging.h"
/*****************************************************************************
- * VLCTime.h: VLC.framework VLCTime implementation
+ * VLCTime.m: VLCKit.framework VLCTime implementation
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team
/*****************************************************************************
- * VLCVideoCommon.m: VLC.framework VLCVideoCommon implementation
+ * VLCVideoCommon.m: VLCKit.framework VLCVideoCommon implementation
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team
*/
@implementation VLCVideoLayoutManager
-@synthesize fillScreenEntirely;
-@synthesize originalVideoSize;
+/* Factories */
+ (id)layoutManager
{
return [[[self alloc] init] autorelease];
}
+/* CALayoutManager Impelmentation */
- (void)layoutSublayersOfLayer:(CALayer *)layer
{
/* After having done everything normally resize the vlcopengllayer */
videolayer.frame = videoRect;
}
}
+
+/* Properties */
+@synthesize fillScreenEntirely;
+@synthesize originalVideoSize;
@end
/*****************************************************************************
- * VLCVideoLayer.m: VLC.framework VLCVideoLayer implementation
+ * VLCVideoLayer.m: VLCKit.framework VLCVideoLayer implementation
*****************************************************************************
* Copyright (C) 2007 Pierre d'Herbemont
* Copyright (C) 2007 the VideoLAN team