Changeset 81c65a657973bdac85dde2b413a18787192de31a

Show
Ignore:
Timestamp:
28/12/07 13:11:35 (10 months ago)
Author:
Felix Paul Kühne <fkuehne@videolan.org>
git-committer:
Felix Paul Kühne <fkuehne@videolan.org> 1198843895 +0000
git-parent:

[b1a9a82e38f91f51859c7f87eee3695715ab0c5b]

git-author:
Felix Paul Kühne <fkuehne@videolan.org> 1198843895 +0000
Message:

* adapted the wizard to use the RTP stream out module instead of the removed RTP access out. Please check the other interfaces...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/macosx/wizard.m

    rf339d3e r81c65a6  
    15261526                        [[o_userSelections objectForKey:@"sapText"] UTF8String]]; 
    15271527                } 
    1528                 [o_opts_string appendFormat: 
    1529                     @":sout=#%s%sstandard{mux=%s,dst=%s,access=%s,%s}", 
    1530                     [o_duplicateCmd UTF8String], [o_trnscdCmd UTF8String], 
    1531                     [[[o_encapFormats objectAtIndex: [[o_userSelections 
    1532                     objectForKey: @"encapFormat"] intValue]] objectAtIndex:0] 
    1533                     UTF8String], [[o_userSelections objectForKey: @"stmgDest"] 
    1534                     UTF8String], [[[o_strmgMthds objectAtIndex: [[o_userSelections 
    1535                     objectForKey: @"stmgMhd"] intValue]] objectAtIndex:0] 
    1536                     UTF8String], [o_sap_option UTF8String]]; 
     1528                if( [[o_strmgMthds objectAtIndex: [[o_userSelections objectForKey: @"stmgMhd"] intValue]] objectAtIndex:0] == @"rtp" ) 
     1529                { 
     1530                    /* RTP is no access out, but a stream out module */ 
     1531                    [o_opts_string appendFormat: 
     1532                                             @":sout=#%s%srtp{mux=%s,dst=%s,%s}", 
     1533                        [o_duplicateCmd UTF8String], [o_trnscdCmd UTF8String], 
     1534                        [[[o_encapFormats objectAtIndex: [[o_userSelections objectForKey: @"encapFormat"] intValue]] objectAtIndex:0] 
     1535                            UTF8String],  
     1536                        [[o_userSelections objectForKey: @"stmgDest"] UTF8String], 
     1537                        [o_sap_option UTF8String]]; 
     1538                } 
     1539                else 
     1540                { 
     1541                    [o_opts_string appendFormat: 
     1542                                             @":sout=#%s%sstandard{mux=%s,dst=%s,access=%s,%s}", 
     1543                        [o_duplicateCmd UTF8String], [o_trnscdCmd UTF8String], 
     1544                        [[[o_encapFormats objectAtIndex: [[o_userSelections objectForKey: @"encapFormat"] intValue]] objectAtIndex:0] 
     1545                            UTF8String],  
     1546                        [[o_userSelections objectForKey: @"stmgDest"] UTF8String],  
     1547                        [[[o_strmgMthds objectAtIndex: [[o_userSelections objectForKey: @"stmgMhd"] intValue]] objectAtIndex:0] 
     1548                            UTF8String],  
     1549                        [o_sap_option UTF8String]];                     
     1550                } 
    15371551            } 
    15381552            else 
    15391553            { 
    15401554                /* no SAP, just streaming */ 
    1541                 [o_opts_string appendFormat: 
    1542                     @":sout=#%s%sstandard{mux=%s,dst=%s,access=%s}", 
    1543                     [o_duplicateCmd UTF8String], [o_trnscdCmd UTF8String], 
    1544                     [[[o_encapFormats objectAtIndex: [[o_userSelections 
    1545                     objectForKey: @"encapFormat"] intValue]] objectAtIndex:0] 
    1546                     UTF8String], [[o_userSelections objectForKey: 
    1547                     @"stmgDest"] UTF8String], [[[o_strmgMthds objectAtIndex: 
    1548                     [[o_userSelections objectForKey: @"stmgMhd"] intValue]] 
    1549                     objectAtIndex:0] UTF8String]]; 
     1555                if( [[o_strmgMthds objectAtIndex: [[o_userSelections objectForKey: @"stmgMhd"] intValue]] objectAtIndex:0] == @"rtp" ) 
     1556                { 
     1557                    /* RTP is different from the other protocols, as it isn't provided through an access out module anymore */ 
     1558                    [o_opts_string appendFormat: 
     1559                                             @":sout=#%s%srtp{mux=%s,dst=%s}", 
     1560                        [o_duplicateCmd UTF8String],  
     1561                        [o_trnscdCmd UTF8String], 
     1562                        [[[o_encapFormats objectAtIndex: [[o_userSelections objectForKey: @"encapFormat"] intValue]] objectAtIndex:0] 
     1563                            UTF8String],  
     1564                        [[o_userSelections objectForKey: @"stmgDest"] UTF8String]]; 
     1565                } 
     1566                else 
     1567                { 
     1568                    /* all other protocols are cool */ 
     1569                    [o_opts_string appendFormat: 
     1570                                             @":sout=#%s%sstandard{mux=%s,dst=%s,access=%s}", 
     1571                        [o_duplicateCmd UTF8String],  
     1572                        [o_trnscdCmd UTF8String], 
     1573                        [[[o_encapFormats objectAtIndex: [[o_userSelections objectForKey: @"encapFormat"] intValue]] objectAtIndex:0] 
     1574                            UTF8String],  
     1575                        [[o_userSelections objectForKey: @"stmgDest"] UTF8String],  
     1576                        [[[o_strmgMthds objectAtIndex: [[o_userSelections objectForKey: @"stmgMhd"] intValue]] objectAtIndex:0] UTF8String]]; 
     1577                } 
    15501578            } 
    15511579        }